Bug absent at devbridge website but present in latest master branch
How to reproduce:
- Open examples from index.html (repository root)
- Type something to any autocomplete field to get results.
- Click and hold left mouse button for more than 200 microseconds on any result. Nothing happens, no results selected, results hidden.
And this bug happens here and there for old/slow people you know..
But this bug is absent at devbridge website here: https://www.devbridge.com/sourcery/components/jquery-autocomplete/ And to add more frustration source code at devbridge is hidden very well, I was unable to find out how they did it.
This has something to do with the 200ms blur timeout period defined here.
Increasing it to 500ms seems to fit a bit better for a common use.
Yes. But increasing timout makes menu slow. @xfra35 I have proposed better fix here #609
Oh you're right, I was switching fields with tab and didn't notice the slowness.
Thanks for providing a fix. It's very smart 👍
I'd advise to create a PR so that it can be quickly merged.
Is anyone working on this issue? We were having reports of intermittent issue with selecting items and changing the timeout to 500ms fixed it for us. I'm happy to submit a PR, although the fix proposed by @alpha-and-omega here https://github.com/devbridge/jQuery-Autocomplete/pull/609#issuecomment-361320583 seems much better than adjusting the timeout.