Skip to content

[combo-box] Add API to re-enable focusing the selected item #6061

Open
@web-padawan

Description

@web-padawan

Describe your motivation

In #6055, we removed logic responsible for scrolling the selected item into the viewport and marking it as focused.

While this improves UX with dataProvider, it also makes UX worse when using items in the web component.

Describe the solution you'd like

Consider adding a new boolean property e.g. focusSelectedItem that would enable the old logic (false by default).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions