Material-table: Latest Material Table upgrade is hanging the browser on same row selection continuously

Created on 31 Aug 2020  路  8Comments  路  Source: mbrn/material-table

Hello Team/ @mbrn , I was using Material Table 1.68.0 version till now and recently I have upgraded to 1.69.0 now and after upgrading I am facing below two issues.

1.) on selecting any row in the table its resizing the column width automatically.
2.) If we keep on selecting the same row continuously , its hanging the browser and we cant do anything.

I have attached code sandbox Environment where I am using the material table 1.69.0 version and if I will revert the older version 1.68.0 , both of the issues will not occur.

SandBox Link :- https://codesandbox.io/s/jovial-brattain-0qn0u?file=/src/compo.tsx

Code Changes:-
I have created a component named as Compo and in that compo I have defined the constant columns outside the component. and using the material table to render the data.

So what are the changes has been introduced in new version which is causing this issue.. Please let me know .
Or suggest me if I am missing something.

image

bug

All 8 comments

+1

@mbrn, this is a critical issue, can we get this fixed in next release.

@mbrn The very basic behavior (row selection) got disturbed in upgrading to the latest version 1.69.0.
It really annoys the user to see the columns resizing for every row selection. Can we expect this to be fixed in next release

Facing the same issue, need the resolution at the earliest

I am facing the same issue. An immediate fix is expected.

@mbrn, any updates on this issue?
Due to this, we can't upgrade the material-table version to 1.69.0

I can still see the issue with the latest version 1.69.2
Here is the sample to recreate this issue -

https://codesandbox.io/s/compassionate-meitner-802l6

Just clicking on the rows hangs the browser.

Was this page helpful?
0 / 5 - 0 ratings