-
Notifications
You must be signed in to change notification settings - Fork 132
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
nativeEvent locationY is always equal to pageY #418
Comments
Link to the synthetic touch events didn't resolve for me: Looks like they are in the 0.62 docs but not 0.63, so I assume they were deprecated. Since macOS is on 0.62 that doesn't mean much... but it does mean that if they're slated to go away then you may want to move off of it now? @NickGerleman did this come up in the Windows merges to 0.63? |
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
This issue should have been fixed by #1288 |
Environment
react-native -v
: 0.62.2npm ls react-native-macos
: react-native-macos@0.61.37node -v
: v12.14.1npm -v
: 6.13.4yarn --version
: 1.21.1xcodebuild -version
: Xcode 11.5, Build version 11E608cIssue
Event objects have a property 'nativeEvent' which have properties 'locationY', 'pageY'.
My understanding is that pageY should be the y coordinate of where the user clicked relative to the app window, wheras locationY is relative to the current component.
However, at the moment, react-native-macos seems to be reporting locationY and pageY to be equal to each other.
Steps to Reproduce
Expected Behavior
I would expect locationY to differ from pageY on the 2nd and 3rd button
Actual Behavior
locationY and pageY are always the same
The text was updated successfully, but these errors were encountered: