mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 13:46:42 +02:00
Dropdown: fix toggle focus after dropdown is hidden using the ESC
button (#35500)
This commit is contained in:
@@ -434,6 +434,7 @@ class Dropdown extends BaseComponent {
|
||||
|
||||
if (isEscapeEvent) {
|
||||
instance.hide()
|
||||
getToggleButton.focus()
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user