Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Pointer location incorrect #3050

Closed
xinthink opened this issue Sep 26, 2015 · 3 comments
Closed

[Android] Pointer location incorrect #3050

xinthink opened this issue Sep 26, 2015 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@xinthink
Copy link
Contributor

Hi,
It seems like pointer location on Android is relative to the screen, instead of the element?
I'm listening to pointer events, found locationX & locationY incorrect.
The same code works fine on iOS.

demo reproducing the issue: https://rnplay.org/apps/3nN_Aw

@astreet
Copy link
Contributor

astreet commented Sep 28, 2015

Thanks for the report! This does indeed look incorrect. Krzysztof, I think you had worked on this pointer transformation (raw vs non-raw coords), can you take a look?

@gre
Copy link
Contributor

gre commented Nov 21, 2015

also experimenting location{X,Y} issues with inconsistencies across Android / iOS implementations

@satya164
Copy link
Contributor

It should be fixed in recent versions.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants