everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
907 stars 47 forks source link

[FEATURE] Support for :top-layer content #104

Open lampmaster opened 3 months ago

lampmaster commented 3 months ago

Are there any plans to support Popover API to position :top-layer elements?

The problem I tried to position the popup with popover attribute. react-laag doesn't have any effect on it. The popup position is in the center of the page (default position for elements that use Popover API)

Additional context Now all modern browsers support popover API. It would be nice to work with it with react-laag. For example, floating-ui recently fixed similar issue