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 (#33643)
  • Loading branch information
alpadev committed Apr 18, 2021
1 parent 7eadf73 commit 6d312b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/dropdown.js
Expand Up @@ -415,7 +415,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 6d312b3

Please sign in to comment.