azmenak / material-ui-nested-menu-item

Drop-in replacement for MUI's MenuItem with infinitely nested menus, and open on hover
73 stars 44 forks source link

Nested MenuItem don't close when using keyboard to select #3

Open Al0ngsy opened 4 years ago

Al0ngsy commented 4 years ago

What you were expecting: When using the arrow key to navigate on NestedMenuItem-List the popup menu close upon changing to the next NestedMenuItem and a new menu popup open.

What happened instead: When using the arrow key to navigate up and down on the NestedMenuItem-List the nested menu popup of the previous selected one are still there and don't close by themselves and the new popup are rendered above the old ones.

Steps to reproduce:

ProfessorX737 commented 4 years ago

Here is a javascript solution: https://github.com/mui-org/material-ui/issues/11723#issuecomment-632132246