Skip to content

Commit

Permalink
fix: clicking an item in navbar dropdown collapses the dropdown in fi…
Browse files Browse the repository at this point in the history
…refox

see #33592
  • Loading branch information
alpadev committed Apr 15, 2021
1 parent f61a021 commit 3b66ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/dropdown.js
Expand Up @@ -412,7 +412,7 @@ class Dropdown extends BaseComponent {
return
}

if (/input|select|textarea|form/i.test(event.target.tagName)) {
if (/input|select|option|textarea|form/i.test(event.target.tagName)) {
return
}
}
Expand Down

0 comments on commit 3b66ee5

Please sign in to comment.