-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Typing is garbled in IE11 #99
Comments
Is the purpose of this line in this._onNextFrameActionId = onNextFrame(this._resizeComponent); Commenting this out makes IE11 behave when typing normally - could it be a difference in how IE implements |
Can you try code in |
Ok, I'll wait for feedback on #100 a little bit and then release it (or not :-)). |
We also have users experiencing this issue, glad someone caught it! |
Any updates on this? Is it ready to merge? |
I would also like to see that being merged / fixed :) I'll have to disable this feature now, because I cannot ship to customers otherwise. |
I had this problem in an application, not with just this module, but regular text inputs too. React made a change in v15 to how the change event is handled in IE11 and below - my solution was just to change the 'onChange' event to 'onInput'. After that everything worked just fine. |
@andreypopp |
I had problem with this too, after some PRs merged in and new release today Ive just tested it (manually ofc) on the computer with IE11 which was affected before bumping library version and the problem seems to be gone. Other popped up, but aint sure if new. At least typing is not more garbled (for me). Going go to close this issue, but if anyone still suffers from this problem at the newest version of the library then please raise your voice, I will reopen and do my best to fix this. |
refs AndaristGH-99 Maintaining a reference to "requestAnimationFrame" and friends (including setTimeout) without binding them to the window object seems to make IE angry with an exception similar to: TypeError: Invalid calling object Binding the function references to window fixes the issue.
Typing "Typing a test message" (and messing it up the second time 😸) with react/react-dom@15.0.2 and react-textarea-autosize@4.0.1:
The event handler isn't doing anything asynchronous:
This only seems to happen when the component is controlled - working around it by using it without a
value
prop. as that suits my current use case.The text was updated successfully, but these errors were encountered: