-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Text: onLongPress support #1011
Labels
Milestone
Comments
Yes, that's mentioned in the compatibility table https://github.com/necolas/react-native-web#compatibility-with-react-native |
Oops! Sorry about that! |
necolas
changed the title
onLongPress does not work on text node
Text: onLongPress support
Jul 7, 2018
DaKaZ
pushed a commit
to DaKaZ/react-native-web
that referenced
this issue
Jan 26, 2019
DaKaZ
pushed a commit
to DaKaZ/react-native-web
that referenced
this issue
Mar 4, 2019
Decided to close this as "wontfix" because the primitive Text component should be simple and fast, which I don't think is the case when it include built-in touch handling, and it could cause regressions for apps like Twitter Lite #1272 (comment). |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
When I add a
onLongPress
event to a text node I can't get the event to fire on a long pressHow to reproduce
Simplified test case: https://codesandbox.io/s/6w34l63jw
Steps to reproduce:
Expected behavior
console will long "long press!"
Environment (include versions). Did this work in previous versions?
The text was updated successfully, but these errors were encountered: