material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Material Table is hanging the browser on adding, updating and deleting rows one by one continuously

Open VictorPotes opened this issue 6 years ago • 16 comments

Hello Team, this material-table is incredible and it helps a lot of people as well, thank you so much for your support! The issues that I'm facing are the following:

Describe the bug

  1. When I add rows one by one continuously, around the 10th row the material-table hangs the browser and I have to refresh the page.
  2. When I update rows one by one continuously, around the 10th row the material-table hangs the browser and I have to refresh the page.
  3. When I delete rows one by one continuously, around the 10th row the material-table hangs the browser and I have to refresh the page.
  4. When I do a mix of CRUD of rows one by one continuously, around the 10th row the material-table hangs the browser and I have to refresh the page.

Expected behavior What I expect to happen is that I would like to do a CRUD continuously without to refresh the browser because it's hanged by the material-table.

Screenshots The browser is hanging image This is the table image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Google Chrome

Additional context The server is working well and I can do a CRUD continuously with other alternatives.

Again thank you so much for your support, I hope you can replicate this issue and solve it for next releases.

VictorPotes avatar Sep 04 '20 06:09 VictorPotes

I have a similar problem exactly as described above except my OS is mac. Additionally, repeatedly updating a row is causing the page to hang too.

bvenkatr10 avatar Sep 04 '20 20:09 bvenkatr10

I have the same issue!!! My OS is Windows 10.

CristianEliab avatar Sep 08 '20 16:09 CristianEliab

Had the same problem, installing the older version (1.52.0, u can try newer ones) fixed the problem for me 👍

Edit: Tried version 1.68.0 -> Works flawlessly Tried version 1.69.0 -> Hangs the browser on frequent data change.

Nsquik avatar Sep 08 '20 16:09 Nsquik

@Nsquik Thank you for your support. I tried the 1.68.0 version and it didn't work. I'll try with the 1.52.0 version.

VictorPotes avatar Sep 11 '20 15:09 VictorPotes

@VictorPotes do you resolve this problem?

pskrajnyy avatar Sep 12 '20 16:09 pskrajnyy

@pskrajnyy I returned to 1.67.0 version and it worked again

Update: I have upgraded again to 1.68.0 version and it worked, the last time didn't work for a mistake mine. It seems the problem is only in 1.69.0 version.

Update 2: I returned to 1.67.0 cause in 1.68.0 I could not personalized the columns when I edit or add an item.

VictorPotes avatar Sep 14 '20 19:09 VictorPotes

Had the same problem, installing the older version (1.52.0, u can try newer ones) fixed the problem for me 👍

Edit: Tried version 1.68.0 -> Works flawlessly Tried version 1.69.0 -> Hangs the browser on frequent data change.

I triad it and work fine by downgrade to 1.68.0

SheikhJuned avatar Sep 27 '20 11:09 SheikhJuned

I ended up reverting all the way back to 1.52 (I could probably inch it forward to newer versions but it works fine for me right now). 1.69, 1.68, and 1.67 all freeze up.

lbuscherX avatar Oct 09 '20 23:10 lbuscherX

Had this issue as well, Returned to 1.67.0 and it's back to normal. User is able to update row by row and it does not freeze the browser.

CodeMasterZeroOne avatar Oct 23 '20 07:10 CodeMasterZeroOne

I have this logic in the table but it's crashing after two interactions with the action buttons. I used multiple versions -- some are worse (crashes only after one interaction)

options={{ 
         rowStyle: (rowData) => ({
                backgroundColor: rowData.highlighted === true ? "#ffeb3b5c" : ""
                color: rowData.red === true ? "red" : "", 
          })
}}

I don't know what to do😐

alexdobsom avatar Nov 10 '20 20:11 alexdobsom

Unfortunately mbrn is inactive and not merging PR's. Use the official community fork @material-table/core instead.

peacechen avatar Jan 08 '21 14:01 peacechen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Apr 08 '21 18:04 stale[bot]

Had the same problem, installing the older version (1.52.0, u can try newer ones) fixed the problem for me 👍

Edit: Tried version 1.68.0 -> Works flawlessly Tried version 1.69.0 -> Hangs the browser on frequent data change.

Downgrading to 1.52.0, also fixed the issue for me. Thanks

amisoliman avatar Apr 21 '21 13:04 amisoliman

Had the same problem, installing the older version (1.52.0, u can try newer ones) fixed the problem for me 👍

Edit: Tried version 1.68.0 -> Works flawlessly Tried version 1.69.0 -> Hangs the browser on frequent data change.

Works perfectly! 😄

deivid-01 avatar Jul 17 '21 01:07 deivid-01

Had the same problem, installing the older version (1.52.0, u can try newer ones) fixed the problem for me 👍

Edit: Tried version 1.68.0 -> Works flawlessly Tried version 1.69.0 -> Hangs the browser on frequent data change.

This answer saved my day! use 1.68.0

rakeshseal0 avatar Feb 19 '22 12:02 rakeshseal0

Hi All , My project contains Mui5 When I downgraded Material Table from ^2.0.3 to 1.68.0 . My app hanged issues get resolved however It dramatically changed the layout design of my app . Any suggestion . It only happens when I open the Material table respective page .

harisali10 avatar May 26 '22 05:05 harisali10