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

multiselect nested inside another list or dropdown causes unwanted effects #375

Closed
miminno opened this issue Sep 5, 2014 · 1 comment
Closed
Labels

Comments

@miminno
Copy link

miminno commented Sep 5, 2014

I try to use this component inside a dropdown in the navbar.
image
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.

@davidstutz
Copy link
Owner

OK, this seems to be unintended, so I will have a look. Do you have a simplified version which you could provide as fiddle for testing?

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

No branches or pull requests

2 participants