mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-27 14:46:01 +03: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