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

Issues with two menus coming from two different sides of the page.

Open fallenturtle opened this issue 3 years ago • 1 comments

Hopefully this is just an issue of me missing a configuration somewhere. I'm working on a site where there are two menus and one will come from the left side and the other from the right side. It works fine if I have both on one side or the other, but not both sides. Here's a fiddle I made: http://jsfiddle.net/fallenturtle/0u8gx1ey/18/

It seems the issue is that its adding both mm-wrapper--position-right and mm-wrapper--position-left classes to the body tag and the right side's CSS when open is overriding the left side's.

fallenturtle avatar Jun 16 '22 21:06 fallenturtle

Those classes should probably be removed if the menu isn't open. I'll see if I can fix this in the next release. Thanks for reporting.

FrDH avatar Jul 13 '22 17:07 FrDH