Skip to content
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

Chrome crashes when dragging a react-dnd enabled div containing a material-ui table #5898

Closed
theirishpenguin opened this issue Jan 9, 2017 · 2 comments
Labels
component: table This is the name of the generic UI component, not the React module! v0.x

Comments

@theirishpenguin
Copy link

Description

When I try to drag a react-dnd enabled div containing a material-ui table in Chrome, then my browser crashes. Sometimes I even get booted out of my Linux desktop as a result (at a guess this is some "infinite loop"-like situation causing chrome to runaway and starve the system of resources).

It does not happen in firefox, which makes me thing it is the webkit issue described at react-dnd/react-dnd-html5-backend#18 (comment)

However, I have tried the suggested workaround and removed in that ticket but I still get the issue. If I delete the element and leave the table body and footer in place I do not the issue.

I will try and refine this test case tomorrow, with a basic react-dnd/material-ui example.

Versions

  • Material-UI: 0.16.6
  • React: 15.4.1
  • Browser: Version 52.0.2743.116 (64-bit)
@theirishpenguin theirishpenguin changed the title Chrome crashes when drag a react-dnd enabled div containing a material-ui table Chrome crashes when dragging a react-dnd enabled div containing a material-ui table Jan 9, 2017
@theirishpenguin
Copy link
Author

Test case created and moved to react-dnd/react-dnd-html5-backend#57

Closing this issue here.

@theirishpenguin
Copy link
Author

theirishpenguin commented Jan 10, 2017

Just in case anyone is reading this in future - it is the tooltips in material-ui that are causing the problem.

If you can, then just remove the table header tooltips to avoid this bug.

More detail at react-dnd/react-dnd-html5-backend#57

@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 21, 2022
@zannager zannager added component: table This is the name of the generic UI component, not the React module! v0.x and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: table This is the name of the generic UI component, not the React module! v0.x
Projects
None yet
Development

No branches or pull requests

3 participants