-
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 throws when rendering some HTML tags inside Windows 8 app. #441
Comments
Shouldn't we just use createElement for those elements instead? |
Alternatively, I suppose setInnerHTMLUnsafe would do the trick too in this case… http://msdn.microsoft.com/en-us/library/windows/apps/br211696.aspx |
Is this something we still want to solve? It seems the fix would be simple enough. |
I just came across this bug, by using name attributes on input tags. I worked around it, but it would be nice if there was a fix |
When do you plan to fix this? |
I thought I'd go ahead and create a pull request (#2799) to fix this. It works by wrapping the innerHTML-setting code in execUnsafeLocalFunction(). |
When using React in a JavaScript-based Windows 8 app, some HTML tags will cause an error to be thrown during mounting. For example an audio tag, as shown here causes the following error.
This is not a hugely pressing issue, but we should probably offer some way of using window.toStaticHTML where it's available.
The text was updated successfully, but these errors were encountered: