-
Notifications
You must be signed in to change notification settings - Fork 47k
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
React fails to update TextNode in IE8 #7824
Comments
Sorry, I made a mess of everything. I think I have a clean commit now: nucleuslabs@3e91942 I guess I have to submit a new PR. |
@mnpenner FYI, you can always reset a branch and start from scratch without closing the PR. Also yes, that commit looks fine to me 👍 |
It closed the PR automatically when I did a hard reset. I guess because my commit got wiped in the reset? But we didn't want that commit in the history, right? |
@mnpenner Oh ok, that must be new GitHub-behavior or something... |
I thought the new PR would automatically link here because I put the issue # in the commit, but I guess not. |
React discontinued React DOM support for IE8 with v15. In your Fiddle you're using React DOM 15.3.2. Have you tried using an older version, like https://npmcdn.com/react-dom@0.14.8/dist/react-dom.js? |
@brandonaaskov No, I have not tried reproducing this particular issue in React 0.14. Everything else seems to work in v15 though, so I'd rather stick with 15.x for as long as I can. It's only a 3-line fix to make it work. |
@brandonaaskov @mnpenner IE8 is unofficially supported but not actively maintained, unless it breaks to the point where it's no longer worth the added code complexity. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
React fails to update text nodes in IE8
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/reactjs/69z2wepo/).
This is as close as I could get to a reproduction: https://fiddle.jshell.net/zrozubsb/1/show/
I think JSFiddle itself doesn't work in IE8 though, so it's masking the real problem, which you can see here:
What is the expected behavior?
DOM updates/doesn't throw error
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 15.3.1. Internet Explorer 8. Not sure if it ever worked; I have a feeling it didn't.
I will be submitting a PR for this shortly as I know you aren't actively supporting IE8 any more, but it's actually a pretty simple fix. I hope I outlined the issue well enough.
The text was updated successfully, but these errors were encountered: