File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
app/code/Magento/Search/view/frontend/web/js Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -306,12 +306,13 @@ define([
306
306
dropdown . append ( html ) ;
307
307
} ) ;
308
308
309
+ this . _resetResponseList ( true ) ;
310
+
309
311
this . responseList . indexList = this . autoComplete . html ( dropdown )
310
312
. css ( clonePosition )
311
313
. show ( )
312
314
. find ( this . options . responseFieldElements + ':visible' ) ;
313
315
314
- this . _resetResponseList ( false ) ;
315
316
this . element . removeAttr ( 'aria-activedescendant' ) ;
316
317
317
318
if ( this . responseList . indexList . length ) {
@@ -338,6 +339,11 @@ define([
338
339
this . _resetResponseList ( false ) ;
339
340
}
340
341
} . bind ( this ) ) ;
342
+ } else {
343
+ this . _resetResponseList ( true ) ;
344
+ this . autoComplete . hide ( ) ;
345
+ this . _updateAriaHasPopup ( false ) ;
346
+ this . element . removeAttr ( 'aria-activedescendant' ) ;
341
347
}
342
348
} , this ) ) ;
343
349
} else {
You can’t perform that action at this time.
0 commit comments