Revert "Attempt to return focus explicitly to dropdown trigger (#41365)" (#41668)

This reverts commit 24305e7b18.
This commit is contained in:
Mark Otto 2025-08-25 09:48:45 -07:00 committed by GitHub
parent 4bd8b6ca95
commit ac5f51c17e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -207,9 +207,6 @@ class Dropdown extends BaseComponent {
this._element.setAttribute('aria-expanded', 'false')
Manipulator.removeDataAttribute(this._menu, 'popper')
EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)
// Explicitly return focus to the trigger element
this._element.focus()
}
_getConfig(config) {