Skip to content

Data grid checkboxes are misaligned with row height #7897

Closed

Description

@lukasolson

Describe the bug

See https://eui.elastic.co/#/tabular-content/data-grid-schema-columns#control-columns. When you switch the data grid row height to "Auto fit" or "Custom", the check boxes are no longer properly vertically aligned.

Screenshots

Screen.Recording.2024-07-19.at.1.06.40.PM.mov

Activity

  1. added
    ⚠️ needs validation
    on Jul 19, 2024
  2. cee-chen commented on Jul 22, 2024

    @cee-chen
    Contributor

    When you switch the data grid row height to "Auto fit"

    This one is working as intended, auto fit row heights do not vertically center their content as the row height can be any height and the checkboxes should be top-aligned instead of middle-aligned.

    For "Custom" heights of 1 line, this should be resolved in the future by adopting Davis's suggestion here: #7780 (comment)

    For custom heights of more than 1 line, again, checkboxes should be top-aligned instead of middle-aligned so that is working as expected.

  3. added
    help wanted
    and removed
    ⚠️ needs validation
    on Jul 29, 2024
  4. github-actions commented on Jul 29, 2024

    @github-actions

    👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.

  5. self-assigned this
    on Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

data gridhelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions