-
Notifications
You must be signed in to change notification settings - Fork 100
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
Disappeared SVG tags use
in IE10 - IE11.
#85
Comments
thx feedback, I will check this problem and try to fix it as soon. |
I found it just work the same as import React, { Component } from 'react-lite'
import ReactDOM from 'react-lite'
function Test() {
return (
<svg className="icon-twitter" width="16px" height="16px">
<use xlinkHref="#twitter" />
</svg>
)
}
ReactDOM.render(
<Test />,
document.getElementById('root')
) In fact, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using svg through tag
use
and IE10 - IE11 have removed all of them([email protected]).Got from server:
<svg class="icon-twitter" width="16px" height="16px" data-reactid="8"><use xlink:href="#twitter" /></svg>
.Got after
react-lite
applying:<svg class="icon-twitter" width="16px" height="16px" data-reactid="8"></svg>
.In the same time [email protected] has no this problem, all my SVG were displayed correctly.
The text was updated successfully, but these errors were encountered: