-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[TextareaAutosize] - Prevent maximum update depth exceeded in IE11 #19578
Conversation
Details of bundle changes.Comparing: 3764e63...5ebf471
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Soon or later, we will stop IE 11 support, I don't think that we should make hard tradeoff for this support target. Instead, I propose that we ignore the issue with #17672. It should be good enough. Would it work for you? Do you want to work on it here? :)
There are just a few IE11 users remaining, so I think it's fine for me. |
What do you mean, do you want to apply the proposed patch (that can also benefits non IE 11 users) or ignore the problem? |
I mean that's fine to ignore the problem at this moment. The proposed patch seems to work, but idk... In my opinion it really looks like a workaround and not the best solution for the problem. Do you think we should apply those protections? |
The problem for end-users is that when the layout is unstable, it goes really wrong. It crashes the page. Shouldn't we scope the worse case to a misalignment? Now, this is also an advantage for Material-UI as it gives a strong incentive for developers to report the issue. So, it's a tricky call to make. @eps1lon What do you think? |
Hello guys!
I am sending this PR to show that if we change
React.Fragment
todiv
, the problem is solved. I believe this is a problem in React itself.I don't know if it's valid and safe to continue using Fragments in this component right now, and maybe we should open an issue to react team.
I also tried to search for excessive update issues related to React.Fragment, but I couldn't find any trace.
I know that there are some tests related to
describeConformance
that are failing, but the idea of this PR is to provoke criticism and see if these conformities really make sense for this component and if it does, check if we will create the protections commented here.