Replies: 2 comments 3 replies
-
You can control the dropdown with const [open, setOpen] = React.useState(false)
<DropdownMenu.Root open={open} onOpenChange={setOpen}>
...
</DropdownMenu.Root> |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can do remove onMouseLeave if you dont want it to close |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the Radix Dropdown-Menu to be opened not on click but on hover instead.
So my idea is that you'll let the developer choose how to trigger the drop-down menu - "hover" or "click" while still keeping the amazing a11y.
Beta Was this translation helpful? Give feedback.
All reactions