Skip to content

React fails to update TextNode in IE8 #7824

@mnpenner

Description

@mnpenner

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:

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions