measure returns incorrect coordinates #7079
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
When using measure it return an object's height, width, pageX, pageY, x, and y values. However, at least on Android, x and y are always 0 even when they should not.
Expected Behaviour
measure should return obejct's updated x and y values. That way I can keep track of the animated object during the pan gesture.
Actual Behaviour
measure always return x and y as 0.
Related Issue
In line with what has been said in this issue #3188
Steps to reproduce
minimal code example (
Snack or a link to a repository
https://snack.expo.dev/@srit/51ba0e
Reanimated version
3.16
React Native version
0.74.5
Platforms
Android
JavaScript runtime
JSC
Workflow
Expo Dev Client
Architecture
Paper (Old Architecture)
Build type
Debug app & dev bundle
Device
Real device
Device model
Samsung Galaxy S21 5G
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: