Description
We have an animation that is displayed incorrectly. It has a scale transform applied to it, and it ends up being positioned further right than it should be:
From the looks of it it seems that the origin of the transform is incorrect.
This used to work on iOS with version 0.2.3, but now with 0.4.0 it's broken on both platforms.
Provide a Repro
https://github.com/Nezz/expo-repro/tree/repro/RiveTransform
Source .riv/.rev file
Included in the repo
Expected behavior
The animation should be centered (which used to be the case on iOS).
Screenshots
Device & Versions (please complete the following information)
- Device: Samsung Galaxy Fold 3, API 36 emulator, iOS simulator
- OS: Android 15, iOS 26.4
- React Native Version: 0.83.4
- Expo Version (if applicable): 55
Additional context
Description
We have an animation that is displayed incorrectly. It has a scale transform applied to it, and it ends up being positioned further right than it should be:
From the looks of it it seems that the origin of the transform is incorrect.
This used to work on iOS with version 0.2.3, but now with 0.4.0 it's broken on both platforms.
Provide a Repro
https://github.com/Nezz/expo-repro/tree/repro/RiveTransform
Source
.riv/.revfileIncluded in the repo
Expected behavior
The animation should be centered (which used to be the case on iOS).
Screenshots
Device & Versions (please complete the following information)
Additional context