-
Notifications
You must be signed in to change notification settings - Fork 117
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
An SVG is no longer rendered correctly after the update #62
Comments
Yeah, that's something that broke by enabling SVGO minifier as it removes the |
@eae-christian could you please test if version 0.14.1 fixes the issue for you? https://github.com/kristerkari/react-native-svg-transformer/releases/tag/0.14.1 |
0.14.1 fixed the issue for me, thanks a lot! |
sorry, yes! fixed :) |
Hello :) There is one more problem related to this bug. Works before : Now : |
@rphlmr are you using the latest 0.14.1 version? If yes, could you provide me the SVG, so I can have a look at it. |
@kristerkari Yes i'm on the latest version.
|
Thanks @rphlmr ! I have a fix that disables a setting from SVGO, and I'm making a patch release soon. |
@kristerkari It works :) 🥇 |
Hi, after updating from react-native-svg-transformer 0.13.0 to 0.14.0 at the moment one of the svg that I have in the application is not rendering well, in the previous version everything was perfect.
Attached photos
My environment:
"@svgr/core": "^4.3.3",
"react": "16.11.0",
"react-native": "0.61.4",
"react-native-svg-transformer": "^0.14.0",
My application is only in iOS, I don't know if Android has the same behavior
with 0.13.0
with 0.14.0
I do the import and render this way:
import UserIcon from '../../assets/icons/ico-user.svg';
< UserIcon width={11} height={11} />
Thanks
The text was updated successfully, but these errors were encountered: