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

fix(a11y): keep focus on input after selecting an dropdown item #1937

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

YoYuUm
Copy link

@YoYuUm YoYuUm commented Dec 12, 2022

Fixes second example of #1926.
To be accessible, it should be possible to keep using the input easily after selecting and item on multi-select input.
Previously, when using mousedown to pick an item from the dropdown, the input would lose focus and ignoring blur wasn't enough in order to keep the input focused.

Fixes second example of selectize#1926.
To be accessible, it should be possible to keep using the input easily
after selecting and item on multi-select input.
Previously, when using mousedown to pick an item from the dropdown, the
input would lose focus and ignoring blur wasn't enough in order to keep
the input focused.
@risadams risadams merged commit 05fda66 into selectize:master Dec 12, 2022
risadams added a commit that referenced this pull request Dec 20, 2022
Clicking an option after scrolling down the dropdown ends up picking a different option
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

Successfully merging this pull request may close these issues.

2 participants