1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 16:14:04 +02:00

fix: clicking an item in navbar dropdown collapses the dropdown in firefox (#33643)

This commit is contained in:
alpadev
2021-04-18 08:01:23 +02:00
committed by GitHub
parent 7eadf73f03
commit 6d312b37c2

View File

@@ -415,7 +415,7 @@ class Dropdown extends BaseComponent {
return return
} }
if (/input|select|textarea|form/i.test(event.target.tagName)) { if (/input|select|option|textarea|form/i.test(event.target.tagName)) {
return return
} }
} }