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
When I run RNTester on Mac and go to Text examples, if I right click on the selectable text example, it will only show the correct context menu if I click within the top few pixels of the component.
Steps to Reproduce
Clone repo
Run RNTester Mac
Go to Text example
Scroll to selectable text
Click and hold to select the text
Right click on the lower half of the text
Expected Behavior
Context menu with copy should show.
Actual Behavior
RN Context menu shows.
Reproducible Demo
The first click in this video is on top half (works fine), second click is bottom half (bug).
Environment
react-native -v: I'm on this commit:npm ls react-native-macos:(empty)node -v:v12.14.1npm -v:6.13.4yarn --version:1.21.1xcodebuild -version:Issue
When I run RNTester on Mac and go to Text examples, if I right click on the selectable text example, it will only show the correct context menu if I click within the top few pixels of the component.
Steps to Reproduce
Expected Behavior
Context menu with copy should show.
Actual Behavior
RN Context menu shows.
Reproducible Demo
The first click in this video is on top half (works fine), second click is bottom half (bug).
Screen.Recording.2021-04-05.at.4.20.53.PM.mov
Additional context
The bug is due to this line: https://github.com/microsoft/react-native-macos/blob/master/RNTester/js/components/RNTesterPage.js#L72
If I delete it, everything works fine. It seems that setting a
paddingToponScrollViewbreaks hit tests.