Skip to content

Selection resets to first item when loading completes during global search #3464

Open
@onesounds

Description

@onesounds

Description:

When performing a search, if the loading bar is still active and the user navigates through the result list (e.g., moves down two items), the selection will automatically reset to the first item once the loading completes. This causes an issue where users may accidentally select the wrong item — for example, pressing Enter to select the third item just as the loading finishes will instead select the first item.

Expected Behavior:

The current selection should remain unchanged when loading completes and new items are rendered.

Steps to Reproduce:

  1. Trigger a global search that takes time to load results.
  2. While the loading bar is visible, move the selection down (e.g., to the third item).
  3. Just as the loading finishes, observe that the selection jumps back to the first item.
  4. Press Enter — the first item gets selected instead of the intended one.

Impact:

This can lead to a frustrating user experience and unintended selections, especially when trying to act quickly during search.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/uxrelated to user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions