CentreForDigitalHumanities / CentreForDigitalHumanities/readit-interface

Autofocus in semantic search select2 dropdowns has stopped working

Open
#539 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.