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: make hide on scroll behavior in `useHover` optional #12

Closed everweij closed 4 years ago

everweij commented 4 years ago

Right now, when the user scrolls the page while a tooltip for example is open, it will hide the tooltip automatically. It would be nice if the user could set a flag hideOnScroll: true / false in the options object (1st argument of useHover).

everweij commented 4 years ago

Fixed in v.1.5.0 🎉