Skip to content

Commit

Permalink
fix: prevent dropdown to open on click when it should open with hover
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Jun 27, 2021
1 parent e70d676 commit 3ad0243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/unstyled/dropdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
.dropdown.dropdown-open .dropdown-content,
.dropdown.dropdown-hover:hover .dropdown-content,
.dropdown:focus .dropdown-content,
.dropdown:focus-within .dropdown-content{
.dropdown:not(.dropdown-hover):focus .dropdown-content,
.dropdown:not(.dropdown-hover):focus-within .dropdown-content{
@apply visible opacity-100;
}

0 comments on commit 3ad0243

Please sign in to comment.