Skip to content

[EuiDataGrid] Columns resize infinite loop #4364

Closed

Description

@lior-fortifieddata

I'm trying to resolve an issue when resizing a column in EuiDataGrid.
unfortunately I couldn't replicate it in CodeSandBox for more than 1.5 hours,
so I thought it worth asking the team if they know it already
I can share my screen if needed.

you can see the issue below:
when resizing a column, look at the scrollbar at the bottom.

It didnt happen when:

  1. setting initialWidth to the last column
  2. on full screen

scroll2

Activity

  1. j-m commented on Dec 14, 2020

    @j-m
    Contributor

    This happened to me when I put flex items in a cell (#4160), are you doing anything special in RenderCellValue or in leading/trailing columns?

  2. lior-fortifieddata commented on Dec 14, 2020

    @lior-fortifieddata
    Author

    no, it still happens when commenting the original renderCellValue and trailing / leading columns
    for some reason the rendering of the grid is much slower comparing the table (I switched the tables to grids in our portal for using columns resizing), so I must be doing something wrong

    image

  3. lior-fortifieddata commented on Dec 14, 2020

    @lior-fortifieddata
    Author

    ok changing from (originally I had more flex items in this group)
    image
    where table is the code in the prev comment
    to

    image

    resolved the issue

  4. chandlerprall commented on Dec 14, 2020

    @chandlerprall
    Contributor

    We've had an internal report of this issue as well, which was not reproducible outside of that instance. Due to the interaction with flex grid - which the virtualization effort removes from data grid - I'm optimistic this is completely resolved in the near future without a workaround.

  5. lior-fortifieddata commented on Dec 14, 2020

    @lior-fortifieddata
    Author
  6. chandlerprall commented on Dec 15, 2020

    @chandlerprall
    Contributor

    We are tracking a few performance issues with EuiDataGrid in #4295 . In-progress work includes virtualization (#4170) and tracking hook calls (#4347).

    The main performance lag with EuiDataGrid is DOM creation for each cell, which is very dense compared to the other table components. The virtualization effort helps here, but we'll continue looking for ways to improve that initialization time.

  7. lior-fortifieddata commented on Dec 15, 2020

    @lior-fortifieddata
    Author
  8. changed the title [-]EuiDataGrid columns resize infinite loop[/-] [+][EuiDataGrid] Columns resize infinite loop[/+] on Mar 19, 2021
  9. cee-chen commented on Jan 5, 2022

    @cee-chen
    Contributor

    I'm assuming this issue is no longer applicable now that EuiDataGrid is virtualized, so going to go ahead and close this. @lior-fortifieddata, please feel free to reopen this if you're still seeing this issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions