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

Text: onLongPress support #1011

Open
chrisdrackett opened this issue Jun 28, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@chrisdrackett
Copy link

commented Jun 28, 2018

The problem

When I add a onLongPress event to a text node I can't get the event to fire on a long press

How to reproduce

Simplified test case: https://codesandbox.io/s/6w34l63jw

Steps to reproduce:

  1. Long press on text

Expected behavior

console will long "long press!"

Environment (include versions). Did this work in previous versions?

  • React Native for Web (version): 0.7.3
  • React (version): 16.4.0
  • Browser: Safari / Chrome
@necolas

This comment has been minimized.

Copy link
Owner

commented Jun 28, 2018

Yes, that's mentioned in the compatibility table https://github.com/necolas/react-native-web#compatibility-with-react-native

@chrisdrackett

This comment has been minimized.

Copy link
Author

commented Jun 29, 2018

Oops! Sorry about that!

@necolas necolas changed the title onLongPress does not work on text node Text: onLongPress support Jul 7, 2018

@necolas necolas added this to the 0.10.0 milestone Nov 13, 2018

@necolas necolas referenced this issue Nov 17, 2018

Open

React Native 0.57 tasks #1172

14 of 33 tasks complete

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

@necolas necolas modified the milestones: 0.11.0, 0.12.0 Mar 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.