-
Notifications
You must be signed in to change notification settings - Fork 206
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
Raw svg doesn't seem to work in internet explorer #36
Comments
It seemed that it's not supported to use |
Ah, so that's the reason why. I believe that this still is a good feature to have. I found a solution that uses innersvg-polyfill and just make an import statement with it. That solved the issue! |
Maybe it would be possible to include innersvg-polyfill in case the raw method is used? |
I don't think it's a good practice to include a polyfill in a component. Maybe users should include the polyfill themselves if they decide to use |
The need of polyfill is already documented in README. So closing this. |
Vue Version: 2.3.0
Vue-awesome Version: 2.3.0
It seems like if you register a raw svg it doesn't work in Internet Explorer 11 and below, not sure about Edge.
In <IE11 the paths will be empty, while in Chrome and Firefox it works fine.
IE:
Chrome:
If I with the DOM explorer parse the paths right into the element it displays correctly.
The text was updated successfully, but these errors were encountered: