Skip to content

[combobox] Return highlight to the selected item #5227

Description

@vladmoroz

Feature request

I'm missing a consistent way to return and rehighlight the selected item when clearing the combobox input. This feels like it could be either a feature request to be able to compose the behavior yourself, or a bug – I am not sure the default behavior makes sense to me at all.

Using the base Input inside popup example:

Initial open scrolls to and highlights the selected value, but clearing the input doesn't restore the initial state:

Screen.Recording.2026-07-13.at.12.23.42.mov

Using it with autoHighlight makes it worse, setting a strong emphasis on the first item which feels random for the user

Screen.Recording.2026-07-13.at.12.24.10.mov

In Paper we had to resort to a bun patch to achieve the experience we need (note ours is also inline and virtualized):

Screen.Recording.2026-07-13.at.12.34.36.mov

As an example in other apps, Figma has a somewhat buggy implementation of the same (they re-highlight the item the first time you clear the input, but only scroll to it the second time):

Screen.Recording.2026-07-13.at.12.09.33.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: comboboxChanges related to the combobox component.type: bugIt doesn't behave as expected.

    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