[bug]: Is there a way to automatically close a Popover if it is not in viewport? #4856
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
I am attaching a Popover to a button on my menu bar. I want the Popover to be hidden when it is no longer in the Viewport when scrolled up, but it is scrolled down as well. I have tried using z-indexes on other elements overlaying it but it doesn't work.
Affected component/components
Popover
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: