Skip to content

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

@miminno

Description

@miminno

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions