How to close a portalled popover when the trigger element disappears? #3388
Unanswered
devinjameson
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some popover content that is shown in a portal when a trigger button is clicked. That trigger button will disappear when the viewport size is below some threshold, but the popover content still shows in the upper left corner of the browser. Is there a way to close the popover content when the trigger disappears? Or even just close the popover content when the screen size changes?
Beta Was this translation helpful? Give feedback.
All reactions