-
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
v15-rc1 seems to skip some text nodes in IE #6246
Comments
I can reproduce it in IE11. |
It seems that DOMLazyTree having different behaviour on IE causes this bug. (also reproduced in Edge) |
Every text node is skipped. (minimal repro case: jsfiddle) A ReactDOMTextComponent returns DOMLazyTree something like:
Then DocumentFragment is inserted into the parent element before the children are added to the fragment, so nothing is rendered. |
Darn it, I remember considering this a few months back but must have forgotten. Easiest solution might be to treat document fragments specially in DOMLazyTree but I'm open to other ideas. cc @mwiencek if you're interested |
Thanks to everybody for the quick find and reduction! This is exactly how the process should work |
The following
results in only "Hello" being written in IE11 - jsfiddle
I realize there has been some changes to the way text nodes work in v15, but before we update our code to use
<span>
, I wanted to check if this is the intended behavior (since "test" is written in chrome).The text was updated successfully, but these errors were encountered: