mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete: Fix for #5154
This commit is contained in:
parent
3875cd33b7
commit
4cea3290a1
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();
|
||||
|
Loading…
Reference in New Issue
Block a user