mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Autocomplete: Fix for #5154
This commit is contained in:
1
ui/jquery.ui.autocomplete.js
vendored
1
ui/jquery.ui.autocomplete.js
vendored
@@ -240,6 +240,7 @@ $.widget( "ui.autocomplete", {
|
||||
$.each( items, function( index, item ) {
|
||||
self._renderItem( ul, item );
|
||||
});
|
||||
// TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
|
||||
this.menu.deactivate();
|
||||
this.menu.refresh();
|
||||
this.menu.element.show();
|
||||
|
||||
Reference in New Issue
Block a user