-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catastrophic freeze in infinite loop when updating table context #2404
Comments
material-table/src/utils/common-values.js Line 14 in 6b2e168
|
Same issue here |
I think the problem is in the new features in v 1.69. |
1.68.0 (I don't know about 1.68.1) has other issues, with onBulkUpdate (even if you're not using that feature) |
I have the same issue and will update with more info later. I am able to update context after the initial render ONCE. Subsequent changes to context cause an infinite loop. |
I have a similar issue and fixed it by removing (for now) React.StrictMode. |
Thanks man, works for me too. |
I have also the same issue with v 1.69. Downgrading to 1.68.1 solved the problem.
Thanks man, resolved the issue for me. |
Same issue. Downgrading to 1.68 helped fixed it. |
Also downgraded to 1.68.1 to resolve this issue. Helpful hint ( as I had to do a second pass to resolve). I had in my package.json "material-table": "^1.69.0". Note the Caret. It indicates "Compatible with version". To be sure you indeed just get 1.68.1 you may want to remove the Caret to: "material-table": "1.68.1" |
If you don't want to downgrade, you can also set the width for each column to |
Thanks man. This worked for me. |
Unfortunately mbrn is inactive and not merging PR's. Use the official community fork @material-table/core instead. |
FWIW also worked for me |
See SOF issue https://stackoverflow.com/questions/63602354/material-ui-react-table-hangs-on-switching-tabs
Describe the bug
Table crashes unforgivingly when trying to recalculate column widths on update. On debug, seems due to infinite loop in reducePercentsInCalc.
To Reproduce
https://codesandbox.io/s/winter-pond-1zsn3?file=/public/index.html
The text was updated successfully, but these errors were encountered: