react-native-platform-touchable icon indicating copy to clipboard operation
react-native-platform-touchable copied to clipboard

Android error on flatlist item that has Touchable

Open plrdev opened this issue 7 years ago • 2 comments

I have a flatlist with an item like this:

  <Touchable onPress={() => this.props.onPress()} background={Touchable.SelectableBackground()}>

It usually works, but sometimes I get this error:

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.

plrdev avatar Dec 08 '17 14:12 plrdev

@eduplus I'm guessing you're debugging your app over Chrome Debugger, as this is a bug that appears often with it Nothing you can do about it. Either reload your app each time this happens, or do debug JS remotely I agree it's bit vexing

HZSamir avatar Jan 28 '18 15:01 HZSamir

Yeah debugging with Chrome. If it only happens during debugging, then that's fine I guess.

plrdev avatar Jan 29 '18 08:01 plrdev