mmenu-js icon indicating copy to clipboard operation
mmenu-js copied to clipboard

Sidebar Clickable while collapsed

Open drecchia opened this issue 2 years ago • 3 comments

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

drecchia avatar Jul 28 '22 15:07 drecchia

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.

ppizarror avatar Aug 24 '22 15:08 ppizarror

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.

FrDH avatar Sep 04 '22 10:09 FrDH

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.

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!

ppizarror avatar Sep 04 '22 14:09 ppizarror