onClick of HoverCard Trigger #3277
Replies: 2 comments
-
No updates? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well, just moved on. Very irregular component for Radix standarts. I'm using a bunch of other Radix components working very well, but HoverCard is not a well structure one. Not very easy to know how it work and some behaviours (as the one in the post), apparently, doesn't have a way of changing whatsoever. Switching to the Tooltip component, that is more reliable |
Beta Was this translation helpful? Give feedback.
0 replies
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