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

Upgrade material-ui to 4.9.10 to avoid infinite rerender of text areas #1656

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

4ian
Copy link
Owner

@4ian 4ian commented Apr 14, 2020

Upgrade material-ui to latest version to benefit, in particular, from this bugfix: mui/material-ui#19743

Fix #1651
Fix #1617

Deployed on https://editor-alpha.gdevelop-app.com - clear your cache and let me know if you find any issue :)
In particular, we can see that the previous crash is now prevented by material-ui:
image

@Bouh
Copy link
Collaborator

Bouh commented Apr 14, 2020

Good me for me. more than 10k letter in the input nothing crash :D
The component material-ui is broken but nobody write 10k of expressions so ...

@4ian
Copy link
Owner Author

4ian commented Apr 14, 2020

more than 10k letter in the input nothing crash :D

Haha nice! Not sure what would be crashing first, the expression parser, React or the browser - I guess having a really long text area content is fine in Browser and handled by React, but the errors displayed might lead to a lot of errors to show in the DOM.

Anyway, thanks for testing!

@4ian 4ian merged commit 2da4e79 into master Apr 14, 2020
@4ian 4ian deleted the fix/material-ui-update branch April 25, 2020 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash while using the editor Crash while using an editor with abuse of CTRL+Z
2 participants