Skip to content

Scrollable dropdown does not highlight current selection #4958

@kskaiser

Description

@kskaiser

Describe the bug

In the submission form for dropdown lists the currently selected item is not highlighted correctly.

To Reproduce

Steps to reproduce the behavior:

  1. Start submitting a publication entry. For instance, select a "Type" or "Language" from the dropdown menu.
  2. Click again on the dropdown list: the highlighted item will always be the one after "Clear selection".

Expected behavior

After selecting an entry from the dropdown list and clicking again to open the list, the selected entry should be focused on and highlighted.

Related work

Link to any related tickets or PRs here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageNew issue needs triage and/or scheduling

    Type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions