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:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user