-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Crash on android after adding style transform #2442
Comments
Hello @mzaien, I tried to reproduce your issue using your example, but it seems that I don't have the problem you described. |
This PR: #2424 fixes crash, but applying these changes makes SVG not rendered at all when scaleX: -1 is applied. |
@arakovskis I ran your app and those environments that you provided. |
@mzaien I ran the example that you provided again here is the screen: |
I've also encountered this issue, with a transform |
Hi, thanks for all the reports. I was able to reproduce the bug and have implemented a fix for this issue in #2452. It will be included in the next release. |
# Summary Undo these changes https://github.com/software-mansion/react-native-svg/pull/2403/files#diff-7f8adeb6e7faded1a7ef711b4fa9d2b12d29ff386217e838c4551866afdd8bef that introduced a bug described here #2442 (comment)
It has been fixed in #2452 and included in the v15.7.1 release. If for some reason the problem has not been solved, feel free to reopen the issue. |
Description
I have added a style to an svg illustration to flip it on english or LRT
I solved this issue temproraly with adding different style to flip the svg
And to be honest I'm not really sure if this is a RNSVG issue or not since there are other packages that got updated to latest e.g expo , react-native , reanimated , ...etc but I had a similar environment to the one in our company's app.
here is the error log that might help
Steps to reproduce
yarn android
Snack or a link to a repository
https://github.com/mzaien/rn-expo-75-51-svg-bug
SVG version
15.6.0
React Native version
0.75.2
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
Android emulator
Device model
Pixel 8
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: