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
Different platforms behave differently. I got a negative value when I moved the pointer to the top of the screen on Android but got 0 for iOS. I need this value to calculate if the pointer is in a specified element area, so when I use this value to compare with a pageY value, it gives a wrong result.
PS: I found that normally the value varies on ios and Android makes sense because StatusBar occupied some height on Android. But when StatusBar is set to translucent, the value is not correct enough anymore.
Steps to reproduce
Just get an absoluteY value from onUpdate function
Snack or a link to a repository
null
Gesture Handler version
2.13.1
React Native version
0.72.6
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered:
Description
Different platforms behave differently. I got a negative value when I moved the pointer to the top of the screen on Android but got 0 for iOS. I need this value to calculate if the pointer is in a specified element area, so when I use this value to compare with a pageY value, it gives a wrong result.
PS: I found that normally the value varies on ios and Android makes sense because StatusBar occupied some height on Android. But when StatusBar is set to translucent, the value is not correct enough anymore.
Steps to reproduce
Just get an
absoluteY
value fromonUpdate
functionSnack or a link to a repository
null
Gesture Handler version
2.13.1
React Native version
0.72.6
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: