Skip to content

Commit 52e04e6

Browse files
committed
MC-40376: Auto suggestion box not reappearing after clicking outside the text field
1 parent 1e846a4 commit 52e04e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ define([
253253
}
254254
this.element.val(this.responseList.selected.find('.qs-option-name').text());
255255
this.element.attr('aria-activedescendant', this.responseList.selected.attr('id'));
256+
this._updateAriaHasPopup(true);
257+
this.autoComplete.show();
256258
}
257259
break;
258260

@@ -269,6 +271,8 @@ define([
269271
}
270272
this.element.val(this.responseList.selected.find('.qs-option-name').text());
271273
this.element.attr('aria-activedescendant', this.responseList.selected.attr('id'));
274+
this._updateAriaHasPopup(true);
275+
this.autoComplete.show();
272276
}
273277
break;
274278
default:

0 commit comments

Comments
 (0)