transformOrigin produces incorrect results on android #49286
Labels
API: Transforms
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Platform: Android
Android applications.
Description
Transforming a view with
perspective
andtransformOrigin
to achieve 3d-effects is working perfectly on iOS, but not on android.This has probably something to do with the normalization of camera perspectives:
react-native/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java
Line 599 in 7b7c450
I would be very thankful for possible workarounds.
Steps to reproduce
Stacktrace or Logs
Reproducer
https://snack.expo.dev/TUuheLubQqqLvtaHBxTR8
Screenshots and Videos
iOS:
android: 
The text was updated successfully, but these errors were encountered: