Material-table: Freeze Brower when adding more then 10 rows

Created on 4 Oct 2020  路  2Comments  路  Source: mbrn/material-table

Guidelines

just start adding rows with the upper "add" button, add 15 or more rows you can see the browser freeze
Demo: https://wmkle.csb.app/
Code: https://codesandbox.io/s/bold-fire-wmkle?file=/src/App.js

The bug
using editable material- table Browser start Freeze after adding just 10 rows it the whole app start freezing and after adding just 10 rows every action freezes the whole application

To Reproduce
use Editable Example and add more than 10 rows you can start feeling the lag

Expected behavior
adding rows should not freeze the browser currently we cant add more than 15 rows because after adding 15 rows it will freeze the whole application and take a long to load

Desktop (please complete the following information):

  • OS: Window
  • Browser: Chrome
  • Version 85.0.4183.121 (Official Build) (64-bit)
bug

Most helpful comment

So I had the same issue, I ended up doing a temporary work-around (still not sure what the potential pitfalls), but going into data-manager, line 83. Simply just comment it out.

It does make the table much faster for me, but as I said, I am 99% sure its being used internally somewhere. But filtering, pages, exporting all seem to work on my end.

All 2 comments

So I had the same issue, I ended up doing a temporary work-around (still not sure what the potential pitfalls), but going into data-manager, line 83. Simply just comment it out.

It does make the table much faster for me, but as I said, I am 99% sure its being used internally somewhere. But filtering, pages, exporting all seem to work on my end.

line 83. Simply just comment it out

thanks, man very nice observation I tried it woking for me thank you very much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VipinJoshi picture VipinJoshi  路  3Comments

behrouz-s picture behrouz-s  路  3Comments

bohrsty picture bohrsty  路  3Comments

terapepo picture terapepo  路  3Comments

Likurg2010 picture Likurg2010  路  3Comments