themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS

Home Page:https://flowbite.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support the Popover api

xcaptain opened this issue · comments

commented

Please support the new Popover api: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

With this, we can achieve dropdown menu, modal without writting js

Hey @xcaptain,

We will consider it, but the dropdowns that we have also calculate the width and height of the container.

This means that it could still be more advantageous to use our current API as opposed to the new HTML Popover.

Also not sure this actually works with hover too.

Cheers,
Zoltan