-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Dialog, lazy and Suspense #15283
Comments
Thank you for the report. I'm able to reproduce this with your codesandbox. It might be an issue with react since I guess this is why findDOMNode is already deprecated. Will look into a reproducible example without material-ui and if this has already been reported. |
Update: facebook/react#14188 (comment) The "quickly click" part is likely causing an even number of render calls which causes the error. You can still open it if you happen to get an even amount of renders 😉 |
Alright nice. Guess that's an React issue then and might get fixed in the future™ |
We're working on it. Removing the usage for the Tooltip is a bit rough though. It would require us to drop support of function components as children. Though given the current bugs in react and bugs findDOMNode can cause in general it's probably for the better. |
This will be fixed in the next release of React. Specifically any release including facebook/react#15312 We're also removing the findDOMNode usage in the Tooltip so |
@eps1lon @oliviertassinari Is this issue fixed?
If not I just built this Sandbox.
The error has to be triggered in a certain way and it might not trigger every time.
It seems to be a race condition with (timers?) i guess.
You need to inspect the iframe to get the real exception, cause i wasn't able to quickly fix the cross origin error.
Hope that helps.
https://codesandbox.io/s/54p08z2llx
Originally posted by @Obbi89 in #15136 (comment)
The text was updated successfully, but these errors were encountered: