-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
dangerouslySetInnerHTML not working in IE #11271
Comments
Hey! This was fixed in #10921 and is a known issue. A fix should be out in the next release. However thank you for the great write up! |
React |
@gaearon Hi Dan, everything is working now, thank you! |
We were running into facebook/react#11271
Hello,
Today I have spotted the bug(?) in IE10/IE11: while setting the inner HTML on any element (
<p>
,<div>
,<span>
) usingdangerouslySetInnerHTML
property the browser will raise an errorArgument not optional
.I use this with SSR, but the actual HTML received from the server is good, so probably there's a problem with
ReactDOM.hydrate
func.Some code:
where
label
is some string that contains HTML.The text was updated successfully, but these errors were encountered: