Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug absent at devbridge website but present in latest master branch #685

Open
alpha-and-omega opened this issue Jan 28, 2018 · 4 comments
Open

Comments

@alpha-and-omega
Copy link

alpha-and-omega commented Jan 28, 2018

How to reproduce:

  1. Open examples from index.html (repository root)
  2. Type something to any autocomplete field to get results.
  3. 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.

@alpha-and-omega alpha-and-omega changed the title Bug absent at devbridge website but present at latest master branch Bug absent at devbridge website but present in latest master branch Jan 28, 2018
@xfra35
Copy link

xfra35 commented Jan 29, 2018

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.

@alpha-and-omega
Copy link
Author

alpha-and-omega commented Jan 29, 2018

Yes. But increasing timout makes menu slow.
@xfra35 I have proposed better fix here #609

@xfra35
Copy link

xfra35 commented Jan 29, 2018

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.

@Wylan
Copy link

Wylan commented Feb 22, 2019

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 #609 (comment) seems much better than adjusting the timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants