Skip to content

[EuiListGroup] Adding showTooltips to items affects extraAction button alignment #9519

Closed

Description

@i-a-n

Describe the bug
when you add a tooltip to EuiListGroupItem, for instance by adding the showTooltips prop on <EuiListGroup />, any extraAction icons become misaligned vertically.

see this codesandbox for replicating the bug (borders added for visibility):

before/after adding showTooltips
Image Image

Minimum reproducible sandbox

codesandbox

Additional context (Optional)
this likely is happening because tooltips inject a <span> between the <li> and <button> elements, which overrides the align-items: center property from the <li>. by adding align-items: center to the tooltip <span>, it aligns as expected.

just opening this to track; I can open a PR if the team doesnt' have the bandwidth to fix right away 👍

Activity

  1. added
    ⚠️ needs validation
    on Mar 20, 2026
  2. added theissue type on Mar 20, 2026
  3. i-a-n commented on Mar 20, 2026

    @i-a-n
    ContributorAuthor

    oh, I should tag the original discoverer, @johnvictorfs from my team, so he can follow along.

  4. weronikaolejniczak commented on Mar 24, 2026

    @weronikaolejniczak
    Contributor

    Hey @i-a-n 👋🏻 thank you for providing a clear reproduction 🙏🏻 This should be fixed with https://github.com/elastic/platform-ux-team/issues/1052. We estimated it should be shipped around the end of April/beginning of May.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠️ needs validation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions