-
Notifications
You must be signed in to change notification settings - Fork 485
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
Second click on item removes mm-active class #183
Comments
I'm also having this problem. My quick solution is by doing this $('#metismenu li a').on('click', function(){
$(this).attr('aria-expanded', 'true')
$(this).parent().addClass('mm-active')
}) It does not remove active menu when clicking outside the metis menu, which I assume a bug. However for my project it is not bother me at all |
@AmirinNS, |
@ll, |
version:
@Version 3.0.4
Description
When i click on item second time on the same item mm-active class gets removed. This is unexpected behavior. It's breaks requirements to show active page. When menu item doesn't have sub-menu & user clicks on same menu-item it triggers area-expand behavior. which should not be the case since item doesn't contain sub-menu.
The text was updated successfully, but these errors were encountered: