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

how to build an automatic "scroll to" functionality with react-laag #59

Open AJTJ opened 3 years ago

AJTJ commented 3 years ago

I know this falls outside the realm of react-laag, but I'm wondering if there is an easy way for the browser to automatically scroll to a tooltip when it pops up.

I'm basically using react-laag to create informational tool tips that lead a user through an activity all over a web page.

Thanks!