mmenu-js
mmenu-js copied to clipboard
Sidebar Clickable while collapsed
Hi there, Is there any way to click on iconbar href while sidebar is collapsed ? Looks like "blockMenu" has no impact over this. My version 9.1.6
Thanks, Danilo Recchia
Hi. This happens because of inert="true"
menu attribute. You must remove that value if using the newest mmenu version and add your event with jquery.
While being closed, the menu has inert="true"
, ths prevents it from any user interaction (completely intentionally). I'm working on somewhat of a workaround, where clicking the collepsed menu would open the menu. That might help your case.
I would not recommend removing the inert
attribute, being able to interact with the menu (for example using the tab key) could result in a really bad experience.
While being closed, the menu has
inert="true"
, ths prevents it from any user interaction (completely intentionally). I'm working on somewhat of a workaround, where clicking the collepsed menu would open the menu. That might help your case. I would not recommend removing theinert
attribute, being able to interact with the menu (for example using the tab key) could result in a really bad experience.
That would be awesome, and that is one of the main reasons I don't update because the clickable option of the menu was a really useful feature.
Thanks for your hard work, mmenu is epic!