-
Notifications
You must be signed in to change notification settings - Fork 334
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
Can't load static SVG #20
Comments
@igongora just try to remove xml tag, style block and id attribute |
I am getting this same error. No extra tags. |
@chandlervdw because u need to pass other extra tags such as |
I could made the SVG render adding "width" and "height" attributes, but still no color |
@igongora And remove <style><\style> |
The same SVGs work if I use the uri property on a remote host, but do not work and show the "TypeError: invalid svg" error if I use the require syntax. An example is the canonical tiger SVG that everybody uses for testing their implementations: This tiger fails with the same error message when using require, but works when using uri. In fact, I haven't been able to get even the simplest SVG to work using require. |
With this one, I see the following:
for the very simple example below:
Right now, loading SVGs "locally" seems to be completely broken. |
Hi @tonydiepenbrock , do you check this part of the documentation?
|
I am not using Android, I'm using iOS. Does it work with iOS? |
@foobarnautT |
@chandlervdw |
I've installed this component and tried to use it with my own static file (https://gist.github.com/igongora/686f13f3a9db38f47d47249db1cf1c1a), but for some reason it doesn't work. I get 'TypeError: invalid svg' from the console
Great component right here, congrats!
The text was updated successfully, but these errors were encountered: