Headless ui menu item trigger without menu button #2013
Unanswered
gayathrisaru
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need you help in menu (dropdown)
I'm using headless ui menu (dropdown) in my react application. I have 2 components (parent and child). In parent component I have one icon. And in child component I'm using headless ui menu(as generic). I have requirement like I have to open menu item without using menu button. In the place of menu button I need to use the parent component icon. i.e, by clicking parent component icon I need to open the menu items.
Note: The child component is a generic dropdown component. Dynamically I need to pass element from parent to this child component. Need to open menu item while click that dynamic item(in my case icons).
Beta Was this translation helpful? Give feedback.
All reactions