You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use this component inside a dropdown in the navbar.
First issue is that closing the dropdown will close the parent one too.
Second issue is that selecting an option will add 'active' class to all of its parents (all the way up to the root of the document). Same with deselect. It seems that the cause of this behavior is the use of .parents('li') throughout the code.
The text was updated successfully, but these errors were encountered:
I try to use this component inside a dropdown in the navbar.
![image](https://cloud.githubusercontent.com/assets/2623465/4167075/191ccde0-3510-11e4-87df-6dbb9dc587e8.png)
First issue is that closing the dropdown will close the parent one too.
Second issue is that selecting an option will add 'active' class to all of its parents (all the way up to the root of the document). Same with deselect. It seems that the cause of this behavior is the use of .parents('li') throughout the code.
The text was updated successfully, but these errors were encountered: