mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-12-22 19:08:55 +00:00
fix blurring of menu
if you click and hold (without releasing mouse), the dropdown will still blur/hide. This is because the order of events goes mousedown -> blur -> mouseup -> click So basically you must click "quickly" or lose the menu
This commit is contained in:
parent
59a1293774
commit
63b5d6e3a2
@ -198,7 +198,7 @@
|
||||
that.select($(this).data('index'));
|
||||
});
|
||||
|
||||
container.on('click.autocomplete', function () {
|
||||
container.on('mousedown.autocomplete', function () {
|
||||
clearTimeout(that.blurTimeoutId);
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user