You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Came across an interesting use case for the Menu component that asks to nest the Menu inside a larger parent button that performs an auth task. The Menu.Button is nested inside this parent and should open the menu with a single Menu.Item inside of it. Currently, I'm able to open the menu by clicking the Menu.Button, but when the menu is open, I'm not able to click the button again to close it. Instead, the parent's click handler is fired.
Am I abusing the Menu component? Any help is greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Came across an interesting use case for the Menu component that asks to nest the Menu inside a larger parent button that performs an auth task. The
Menu.Button
is nested inside this parent and should open the menu with a singleMenu.Item
inside of it. Currently, I'm able to open the menu by clicking theMenu.Button
, but when the menu is open, I'm not able to click the button again to close it. Instead, the parent's click handler is fired.Am I abusing the Menu component? Any help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions