mmenu-js
mmenu-js copied to clipboard
Issues with two menus coming from two different sides of the page.
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.
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.