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

After filtering, when clicking any element in the filtered list, the first one is always selected #193

Open
filipmestrovic opened this issue Aug 19, 2021 · 1 comment

Comments

@filipmestrovic
Copy link

This can be consistently reproduced.
It only happens when selecting an element right after changing the filter.
If you press any keyboard key or click outside the box before selecting, it doesn't occur.

Here's a short recording from the demo page directly.

bug video

@djuanignacio
Copy link

djuanignacio commented Jun 2, 2022

Does anyone have any idea how to fix this?

Edit: What do you think about this possible solution?

$(".box1 input, .box2 input").on("input", function() { $(this).blur().focus(); });

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

2 participants