Skip to content

[EuiCombobox] Cannot choose item by hitting enter if it's in a subgroup  #7653

@mbondyra

Description

@mbondyra

Describe the bug

This is a bug at the border of UX and a11y (keyboard navigation).

  1. Here's a codepen to investigate - we have one item works and then a group of colors in our combobox

  2. Type 'works' in the input and confirm with enter - the item was correctly selected:

Apr-05-2024.16-31-28.mp4
  1. Type 'red' or any item that exists in the subgroup - hitting enter doesn't do anything (hitting many times at the end of the video)
Apr-05-2024.16-32-02.mp4

Real-life example - we have this case in lens for fieldlist - we can only select Records by pressing Enter as it's not in the group, the rest is impossible to select with pressing Enter:
Screenshot 2024-04-05 at 16 33 25

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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