react-dd-menu
react-dd-menu copied to clipboard
NestedDropdownMenu can't close when i clicked the menu item

Ahh. That is because it is competing with the mouseover event for open/closing the menu. I guess I could make it so clicking the NestedDropdownMenu will also disable the hover open state.
Is there any way you can still close the NestedDropdownMenu after clicked the menu? Because when I have two NestedDropdownMenu , if i clicked the first menu item,mouseover the second menu item,the first NestedDropdownMenu can't close, then the second NestedDropdownMenu will overlap on the first NestedDropdownMenu.(I'm sorry I have a bad English)
If you click the first menu item again, it should be able to close correctly. But maybe I should update the menu's to only allow one nested menu per-tier to be open at a time so they do not overlap.