diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 96094a3e65..88af932f76 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -207,6 +207,9 @@ 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) {