onClick of HoverCard Trigger #3277
Unanswered
caioVigiani
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
-
Hi! I'm using @radix-ui/react-hover-card, but facing a problem with clickable triggers. When the hover happens (enter and exit hover), everything works, showing and hidding the portal with the right delay. But when the trigger is clicked, although the mouse stop hovering the trigger, the HoverCard still shows up, and it doesnt hide until I click somewhere else. I understand that probably it has something to do with active element, but I need some way of disabling it or at least a work around to that type of action.
Does Radix not provide a control to that behaviour? It seems very simple
Beta Was this translation helpful? Give feedback.
All reactions