Skip to content

[EuiSelectable] The end of truncated text is cut when the container has a scroll visible #7391

Closed

Description

@mbondyra

Describe the bug

  1. Here's an example of EuiSelectable with a few options. The container doesn't have a scroll. This works fine:
Screenshot 2023-12-01 at 10 29 44
  1. Here's the same example but with a few more options. The container has a scroll because there's more options: The truncated strings are cut in the end (The ones at the bottom should end with 'THE END')
Screenshot 2023-12-01 at 10 35 01

The bug happens with all types of truncation, here with the end type (should display 3 dots, not just one):

Screenshot 2023-12-01 at 10 35 45

Activity

  1. added
    ⚠️ needs validation
    on Dec 1, 2023
  2. changed the title [-][EuiSelectable] end of truncated text is cut when the container has a scroll visible[/-] [+][EuiSelectable] The end of truncated text is cut when the container has a scroll visible[/+] on Dec 1, 2023
  3. removed
    ⚠️ needs validation
    on Dec 1, 2023
  4. self-assigned this
    on Dec 1, 2023
  5. cee-chen commented on Dec 1, 2023

    @cee-chen
    Contributor

    Thanks for catching this Marta! I'll try to get another backport with this out for 8.12 FF

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