Skip to content

How to close Dropdown when user click on one item? #1870

Answered by fini
MiladDevarts asked this question in Q&A
Discussion options

You must be logged in to vote

If Using Method 1 from the docs (<details> tag):

Stays open until gets clicked again. Or you can close it using JS by removing the open attribute
Dropdown

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@PabloGracia
Comment options

@filipe-valente
Comment options

Answer selected by saadeghi
Comment options

You must be logged in to vote
2 replies
@Joe-le-Tekkie
Comment options

@Joe-le-Tekkie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants