Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onepage breaks toggle classes #70

Open
robwent opened this issue May 11, 2017 · 3 comments
Open

Onepage breaks toggle classes #70

robwent opened this issue May 11, 2017 · 3 comments

Comments

@robwent
Copy link

robwent commented May 11, 2017

If the onepage option is enabled, when I click a link in the menu, the menu closes as it should, but the meanMenuOpen class is not removed from the html tag.
When you then open the menu again, the class then gets removed so they are out of sync.

If you use those classes for styling the open menu then it breaks the styling.

@robwent
Copy link
Author

robwent commented May 11, 2017

After this line

https://github.com/meanthemes/meanMenu/blob/master/jquery.meanmenu.js#L233

I've added

jQuery('html').removeClass('mean-menu-open');

fixes the issue for me.

@biswajitfsd
Copy link

biswajitfsd commented Jun 19, 2017

Can anyone tell me, why mean menu plugin creating multiple mean-bar?
screenshot 31 _li

@robwent
Copy link
Author

robwent commented Jun 19, 2017

@bjitpatra1305 Can you open your own issue rather than commenting on others with support questions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants