diff options
author | alpadev <2838324+alpadev@users.noreply.github.com> | 2021-04-18 09:01:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 09:01:23 +0300 |
commit | 6d312b37c264ac1e4ac244674e6fe700e75f6aa2 (patch) | |
tree | 4d3b7802d9235b7335e63dd8b93ed840964fc995 /js/src/dropdown.js | |
parent | 7eadf73f03eeb51160a455c6438a9ec16ad107a4 (diff) |
fix: clicking an item in navbar dropdown collapses the dropdown in firefox (#33643)
Diffstat (limited to 'js/src/dropdown.js')
-rw-r--r-- | js/src/dropdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dropdown.js b/js/src/dropdown.js index c314cbcddf..2fc2cde21b 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -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 } } |