You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the transform origin prop is still off, thanks! I thought I had fixed this, but it may have regressed when transform origin was added to React Native as a prop
Environment
Steps to reproduce the bug
transform: [{ rotate: '45deg' }]
(or similar rotation) to any view style,transformOrigin
tobottom right
,center
Expected Behavior
The
transformOrigin
should be properly placed and rotation should be applied relative to thetransformOrigin
.Actual Behavior
The view rotates around wrong origin.
Reproducible Demo
I just added rotation animation with
react-native-reanimated
to the entire section in the starter app. It should rotate around center.Screen.Recording.2025-01-24.at.15.04.18.mov
Additional context
Similar issue was reported before: #1891
The text was updated successfully, but these errors were encountered: