Skip to content

[Data Grid] Column widths need a slight pause before calculation #2759

Closed

Description

@snide

We've had two reported issues in Kibana that column widths aren't being calculated properly when initialWidth is not in use. They don't "expand" to fill the width given the width available. I think this is due to the various hooks being called before the grid is painted on the page. Likely we need a slight pause before the widths are calculated so the main wrapping grid can grow to fill the container before the calculation is made.

I've double checked this is not a CSS issue, and although there's likely something that can be done downstream to force some of these widths, it's likely smart to do some checks in EUI to make it more reliable. Alternatively, we could do a check to see if the width of the grid changes size and make calculations then.

Activity

  1. changed the title [-][Data Grid] Column widths need a slight pause before render[/-] [+][Data Grid] Column widths need a slight pause before calculation[/+] on Jan 14, 2020
  2. self-assigned this
    on Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions