I am having an issue with jQuery Autocomplete plugin.
By searching mutltiple times with term "item", at first it works okay: css classes on mouseover are added nicely and everything is smooth. By clicking outside of the popup to close it and typing again each time everything seems to work slower:
I tested it on Chrome which gets very slow and on Firefox which seem to handle it a bit better but also has a performance degradation.
Here is a fiddle with very simple code: https://jsfiddle.net/re9psbxy/1/
And the code:
var suggestionList = [];
for (var i = 0; i < 200; i++) {
suggestionList.push({
label: 'item' + i,
value: i
});
}
//initialize jQueryUI Autocomplete
jQuery('#autocomplete').autocomplete({
source: suggestionList
});
HTML:
<input type="text" id="autocomplete"/>