Skip to content

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

Closed

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

Activity

  1. added
    ⚠️ needs validation
    on Apr 5, 2024
  2. removed
    ⚠️ needs validation
    on Apr 6, 2024
  3. cee-chen commented on Apr 6, 2024

    @cee-chen
    Contributor

    Adding a couple notes mostly for recordkeeping:

  4. self-assigned this
    on Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions