question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An error occurred while using TouchableHighlight,can you help me?

See original GitHub issue

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Steps to Reproduce

Attempted to transition from state RESPONDER_INACTIVE_PRESS_IN to RESPONDER_ACTIVE_LONG_PRESS_IN, which is not supported. This is most likely due to Touchable.longPressDelayTimeout not being cancelled.

| reactConsoleErrorHandler | @ | A:\CricketClient\nod…ptionsManager.js:71 | console.error | @ | A:\CricketClient\nod…ive\YellowBox.js:62 | _handleLongDelay | @ | A:\CricketClient\nod…le\Touchable.js:628 | proxiedMethod | @ | A:\CricketClient\nod…rototypeProxy.js:44 | (anonymous) | @ | A:\CricketClient\nod…mers\JSTimers.js:92 | callTimer | @ | A:\CricketClient\nod…mersExecution.js:95 | callTimers | @ | A:\CricketClient\nod…ersExecution.js:136 | __callFunction | @ | A:\CricketClient\nod…MessageQueue.js:250 | (anonymous) | @ | A:\CricketClient\nod…MessageQueue.js:101 | __guard | @ | A:\CricketClient\nod…MessageQueue.js:218 | callFunctionReturnFlushedQueue | @ | A:\CricketClient\nod…MessageQueue.js:100 | (anonymous) | @ | debuggerWorker.js:71

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots!)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
christianchowncommented, Nov 28, 2017

I get this a fair bit, running on Android on a real device… but it only occurs after I have Hot Reloaded at least once.

If that’s the case for you, @Vagrant-gb, it’s safe to ignore. Just dismiss the warning dialog and continue working. I found a thread describing the reason why it occurs. I can’t remember exactly what it was, but it’s a non-issue.

0reactions
stale[bot]commented, Jan 28, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TouchableHighlight press error - react native - Stack Overflow
I have run into another bug of TouchableHighlight occasionally(I can not give your the error message at this moment). In my case, I...
Read more >
Handling Touches - React Native
Handling Touches. Users interact with mobile apps mainly through touch. They can use a combination of gestures, such as tapping on a button, ......
Read more >
React Native touchable vs. pressable components
In React Native, we can use the Button component to handle basic touch ... The above props help you create smaller touchable elements...
Read more >
tcomb-form-native-cr - npm
tcomb-form-native is looking for maintainers. If you're interested in helping, a great way to get started would just be to start weighing-in on...
Read more >
How to handle touches in ReactNative? - Tutorialspoint
To handle these gestures like tap, touch reactnative has events that cap capture it or a touchable component to deal with touches it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found