Skip to content

Commit 4cea329

Browse files
committed
Autocomplete: Fix for #5154
1 parent 3875cd3 commit 4cea329

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.autocomplete.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ $.widget( "ui.autocomplete", {
240240
$.each( items, function( index, item ) {
241241
self._renderItem( ul, item );
242242
});
243+
// TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
243244
this.menu.deactivate();
244245
this.menu.refresh();
245246
this.menu.element.show();

0 commit comments

Comments
 (0)