We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d441c7 commit 24305e7Copy full SHA for 24305e7
1 file changed
js/src/dropdown.js
@@ -207,6 +207,9 @@ class Dropdown extends BaseComponent {
207
this._element.setAttribute('aria-expanded', 'false')
208
Manipulator.removeDataAttribute(this._menu, 'popper')
209
EventHandler.trigger(this._element, EVENT_HIDDEN, relatedTarget)
210
+
211
+ // Explicitly return focus to the trigger element
212
+ this._element.focus()
213
}
214
215
_getConfig(config) {
0 commit comments