-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
The IE11 document.implementation.createHTMLDocument API requires the title argument to be specified #10865
Comments
This only impacts IE11 users running a development build of React, it's not an issue in production. It's a nuisance but easy to work around with above-mentioned change. What would be the appropriate fix for this? because we, unfortunately, have to support IE11. I can perform the work if I know what's expected or a reasonable fix for the issue. |
Can you provide a failing unit test? It is not very clear to me what this code is referring to. |
...and I thought I was being super clear!
Unless that empty string Edit: this is an IE11 quirk, I don't think any unit test would fail from this because it would require the test to run inside IE11. |
Do you want to send a PR with this change? |
Absolutely, if it's an acceptable change. |
Sounds reasonable to me. :-) |
Fixed via #10921. |
This is already fixed, but just for the record: IE10 is also affected by the original problem. An error is thrown and it's the line containing the |
React |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
React interactivity lost, React crash?
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/ebsrpraL/).
Run with react-dom.development.js in IE11, not sure exactly what the exact repo steps are the fix I've attempted for IE11 was to simply pass an empty string.
Source
react/src/renderers/dom/fiber/ReactDOMFiberComponent.js
Lines 133 to 146 in e932ad6
MDN docs here.
What is the expected behavior?
Well, that React does not crash in dev mode and that interactively continues to work.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
[email protected]
IE11The text was updated successfully, but these errors were encountered: