0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}