Skip to content

Autofocus in semantic search select2 dropdowns has stopped working #539

Description

@jgonggrijp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions