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
In the MoreOptions component of Tile, we pass in a list of MenuItems. However, when a MenuItem contains submenu items, clicking on a submenu item does not automatically close the MoreOptions menu. It also doesn't expose the close function for manual closing on the users side (similar to DropdownMenu menuItems)
Expected Behavior
MoreOptions menu should automatically close when its submenu item is clicked, and/or have the close prop exposed
Describe the bug (current behavior)
In the
MoreOptions
component of Tile, we pass in a list ofMenuItem
s. However, when aMenuItem
contains submenu items, clicking on a submenu item does not automatically close theMoreOptions
menu. It also doesn't expose theclose
function for manual closing on the users side (similar toDropdownMenu
menuItems)Expected Behavior
MoreOptions
menu should automatically close when its submenu item is clicked, and/or have theclose
prop exposedLink to minimal repro
https://stackblitz.com/edit/github-zvoxjsmy-hsis35df?file=src%2FApp.tsx
Steps To Reproduce
Tile
withMoreOptions
MenuItem
withsubmenu
itemMenuItem
withsubmenu
item into Tile'sMoreOptions
MoreOptions
menu inTile
MenuItem
to exposesubmenu
itemsubmenu
itemPackage Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: