jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
Clicking on the list does not select the item
Clicking an item on the selection list sometimes does not select the item. You need to click fast to select the item. If you are slow releasing the mouse button on the click, the item is not selected.
I noticed that this problem does not exist on the demo website. How can I fix this so that the item is selected regardless of how fast the mouse button is released during a click operatoin?
Good catch, I was hunting this issue for months! This behavior was introduces here: https://github.com/devbridge/jQuery-Autocomplete/commit/d556a873e7fa6138e4f630d3859f9aed9b975a29
Maybe we could increase 200 ms to 300-400 ms?
BTW: I think the demo website uses a very old version of the autocomplete, you might not want to check that too closely ;)