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

onLongPress prop not working under TouchableHighlight, TouchableNativeFeedback [android] #24220

Closed
saifali96 opened this issue Mar 31, 2019 · 1 comment

Comments

@saifali96
Copy link

🐛 Bug Report

onLongPress prop not working under TouchableHighlight or TouchableNativeFeedback with Android.

To Reproduce

The code under here is enough to reproduce it.

Expected Behavior

Should display an alert message saying "You long-pressed the button" if you press the button long enough.

Code Example

Code example has been and can be taken from official ReactNative docs under this link specifically.

Environment

  React Native Environment Info:
    System:
      OS: Windows 10
      CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
      Memory: 8.06 GB / 15.93 GB
    Binaries:
      Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.7.0 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  3.3.0.0 AI-182.5107.16.33.5314842 ```

@rickhanlonii
Copy link
Member

Thanks for filing @saifali96! This is a dupe of #24001 and we're actively investigating

@facebook facebook locked as resolved and limited conversation to collaborators Mar 31, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants