Skip to content

[EuiComboBox] Rebuild with EuiSelectable #2841

Open

Description

@myasonik

The existing EuiComboBox has a few a11y shortcomings and differs in implementation from EuiSelectable which has been crowned as the future implementation of dropdown-like things. To consolidate implementations of similar components, fix the a11y problems, and unify the UX, EuiComboBox should be rewritten using EuiSelectable.

On top of EuiSelectable, EuiComboBox largely provides:

  1. A clear button (which needs improved contrast from what's there today)
    Picture example (should be 4.5:1)
  2. Buttons with the selected items inside the search field
  3. A dropdown view of the results instead of inline
    Which currently has a minor a11y issue associated with it (Remove EuiComboBox down arrow button from tab order #5024) Popup indicator should be excluded from focus order (Under "Keyboard Interaction" for Combobox)

I think the EUI team prefers to keep the EuiComoboBox component and to wrap EuiSelectable within it but another implementation option is to add a "renderAs" prop (or something along those lines) to EuiSelectable to adjust styling.

This replaces Kibana issues #42988 and #39357

This issue fixes:

Activity

  1. changed the title [-]Combobox a11y improvements[/-] [+][EuiComboBox] a11y improvements[/+] on Mar 18, 2020
  2. added
    meta
    on Mar 18, 2020
  3. changed the title [-][EuiComboBox] a11y improvements[/-] [+]Rebuild [EuiComboBox] with EuiSelectable[/+] on Jul 13, 2020
  4. changed the title [-]Rebuild [EuiComboBox] with EuiSelectable[/-] [+][EuiComboBox] Rebuild with EuiSelectable[/+] on Sep 20, 2020
  5. thompsongl commented on Jan 18, 2022

    @thompsongl
    Contributor

    As part of this work, also mark EuiFilterSelectItem for deprecation (See #5387)

  6. changed the title [-][EuiComboBox] Rebuild with EuiSelectable[/-] [+][Meta][EuiComboBox] Rebuild with EuiSelectable[/+] on Jan 23, 2023
  7. removed
    meta
    on Apr 17, 2023
  8. changed the title [-][Meta][EuiComboBox] Rebuild with EuiSelectable[/-] [+][EuiComboBox] Rebuild with EuiSelectable[/+] on Apr 17, 2023
  9. cee-chen commented on May 8, 2023

    @cee-chen
    Contributor

    To add more requested context, EuiSelectable has the best built-in accessibility by far (semantic HTML, keyboard navigation, screen reader announcements) and we should dogfood that a11y instead of rewriting it for the 4+ selection components we use. In this case, EuiComboBox has several reported a11y and perf issues (in the github mentions history - see above) that would likely be resolved by this refactor.

  10. github-actions commented on Nov 5, 2023

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  11. 14 remaining items

  12. JasonStoltz commented on Jan 8, 2025

    @JasonStoltz
    Contributor

    @legrego Sorry Larry, missed your message from last year. No, we ended up deprioritizing this. No target at the moment.

  13. legrego commented on Jan 8, 2025

    @legrego
    Member

    @JasonStoltz thanks for the update

  14. added this to the milestone on Jan 13, 2025
  15. weronikaolejniczak commented on Feb 11, 2025

    @weronikaolejniczak
    Contributor

    Tip

    This ticket is referenced in EUI+ docs, specifically:

    "Once EuiComboBox is rewritten to dogfood EuiSelectable, the below will no longer be as true, and we can recommend either EuiSelectable or EuiComboBox equally"

    packages/website/docs/components/forms/selection/overview.mdx:26

    Therefore, these docs should be updated on this ticket.

  16. removed this from the milestone on Apr 9, 2025
  17. self-assigned this
    on Apr 15, 2025
  18. acstll commented on Jun 19, 2025

    @acstll
    Contributor

    We have decided to frame the rebuild/rewrite in this new initiative (#8808), and right now focus on fixing the aforementioned bugs.


    For transparency, this is the high-level plan we came up with:

    API

    • Explore API ideas for EuiComboBox and EuiSelectable composition (let's evaluate a few different options and trigger a discussion)
    • [EuiComboBox] functional rewrite (no new features upfront)
    • [EuiSelectable] functional rewrite (no new features upfront)
    • [EuiComboBox, EuiSelectable] PoC for EuiComboBox and EuiSelectable composition
    • [EuiComboBox, EuiSelectable] API refactor

    Ensure feature parity for EuiComboBox with EuiSelectable

    • [EuiSelectable] Add case sensitivity to search via isCaseSensitive prop
    • [EuiSelectable] Implement custom options (onCreateOption from EuiComboBox)
    • [EuiSelectable] Improve input focus UX to match EuiComboBox's
  19. JasonStoltz commented on Jul 1, 2025

    @JasonStoltz
    Contributor
  20. github-actions commented on Sep 13, 2026

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  21. added
    stale-issue
    on Sep 13, 2026
  22. removed
    stale-issue
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions