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 right-clicking in a browser, it should only open the contextual menu but not trigger a click on the underlying view.
While trying to reproduce, I saw that this issue is not present on Twitter Lite. Either it doesn't use Touchable or there is a way to disable this behavior.
Environment (include versions). Did this work in previous versions?
OS: macOS
Device: Macbook Air
Browser: Firefox 57 & Chrome 62
React Native for Web (version): 0.1.10
React (version): 16.0.0
The text was updated successfully, but these errors were encountered:
For components based on Touchable, in the conditions:
- Secondary mouse click alone
- Secondary mouse click while primary is active
- Dragging secondary mouse click on touchable area
- Dragging secondary mouse click from touchable area to outside
The following events are no longer triggered:
- onPress
- onLongPress
- onPressIn
- onPressOut
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
When I right-click on a Touchable, the onPress event is triggered.
Can be reproduced in the Storybook.
What is the expected behavior?
When right-clicking in a browser, it should only open the contextual menu but not trigger a click on the underlying view.
While trying to reproduce, I saw that this issue is not present on Twitter Lite. Either it doesn't use Touchable or there is a way to disable this behavior.
Environment (include versions). Did this work in previous versions?
The text was updated successfully, but these errors were encountered: