Skip to content

usePopover - prevent popover getting closed on blur #5341

Answered by reidbarber
samithaf asked this question in Q&A
Discussion options

You must be logged in to vote

useOverlay has shouldCloseOnInteractOutside, and we are considering adding that to usePopover and passing it through to useOverlay as a part of #4976. Besides that, perhaps you could make the isOpen state controlled, and only close it when the button is pressed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samithaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants