Skip to content

Commit ac5f51c

Browse files
authored
Revert "Attempt to return focus explicitly to dropdown trigger (#41365)" (#41668)
This reverts commit 24305e7.
1 parent 4bd8b6c commit ac5f51c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

js/src/dropdown.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,6 @@ class Dropdown extends BaseComponent {
207207
this._element.setAttribute('aria-expanded', 'false')
208208
Manipulator.removeDataAttribute(this._menu, 'popper')
209209
EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)
210-
211-
// Explicitly return focus to the trigger element
212-
this._element.focus()
213210
}
214211

215212
_getConfig(config) {

0 commit comments

Comments
 (0)