submenus in jimu-ui

07-22-2021 05:02 PM
by Anonymous User
Not applicable

Hello All,

I'm trying to use the Dropdown component in the jimu-ui package with a submenu.  Problem is when item is selected from the submenu, the parent menu never closes.  You can see the behavior in the first "Default Dropdown" example in the Storybook docs.

I've tried setting the isOpen property in the submenu item's onClick handler but no success.

Thanks for any help you can provide!




0 Kudos
0 Replies