Replies: 1 comment 2 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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