Skip to content

Commit 613fae8

Browse files
committed
MAGETWO-64077: Merge branch 'search-return-focus-after-closing-autocomplete' of github.com:evktalo/magento2 into MAGETWO-64077
2 parents a2cf9b8 + 0f53f67 commit 613fae8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Search/view/frontend/web/form-mini.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ define([
8686
setTimeout($.proxy(function () {
8787
if (this.autoComplete.is(':hidden')) {
8888
this.setActiveState(false);
89+
} else {
90+
this.element.trigger('focus');
8991
}
9092
this.autoComplete.hide();
9193
this._updateAriaHasPopup(false);

0 commit comments

Comments
 (0)