react-dd-menu icon indicating copy to clipboard operation
react-dd-menu copied to clipboard

NestedDropdownMenu can't close when i clicked the menu item

Open fuwenchun opened this issue 8 years ago • 3 comments

image

fuwenchun avatar Jan 03 '17 13:01 fuwenchun

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.

mlaursen avatar Jan 04 '17 21:01 mlaursen

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)

fuwenchun avatar Jan 05 '17 01:01 fuwenchun

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.

mlaursen avatar Jan 05 '17 23:01 mlaursen