- Issue created by @janc48
- 🇬🇪Georgia iamdroid
Click on the link element in the menu closes the drawer, true, and it is expected behavior. It is made so for handling anchor links on the same page. If your menu item is not intended to lead the user to another location but is intended for only expanding and collapsing the submenu, it shouldn't be a link element. It should be a
span
element instead and clicking on it won't close the drawer. To render the menu item as thespan
element you can use<nolink>
as the link target.
Mixed menu elements, which can act as a link and have an additional dropdown button, are currently not supported by the Drawer component.If it does not solve your issue still, please provide more details about your setup or how to reproduce the issue.
I see the point, however, clicking the parent menu item link doesn't open the page but only expands the submenu and closes the drawer.
- 🇬🇪Georgia iamdroid
Please provide steps to reproduce it, otherwise, I can only guess what is wrong.