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

Autofocus in semantic search select2 dropdowns has stopped working #539

Open
jgonggrijp opened this issue Jul 4, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jgonggrijp
Copy link
Member

When a select2 dropdown is opened, its search input normally automatically takes focus so the user can start typing. In the semantic search form, this feature was originally embraced so that users could type their way through the form. However, somewhere along the way, autofocus has stopped working, forcing the user to click or tap the search input first.

From a preliminary investigation, it seems that select2 is still trying to focus the search input, but something else is stealing focus immediately after that. I have not been able yet to determine the exact cause, let alone to remedy it.

@jgonggrijp jgonggrijp added the bug Something isn't working label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant