You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to handle touch moves only and single taps should be passed to child component
But I see that it is quite difficult to do single tap (so it will be handled by TouchableOpacity) Because most of the time when I tap my device, move events are raised by PanResponder so TouchableOpacity doesn't works.
I tried to distinguish single taps and moves in onMoveShouldSetPanResponder handler (so I can return false in single tap case) but I see no difference in event argument
I think that timeout between tapping and raising move event is too small and should be increased (or maybe configured)
React Native version: 0.44
Platform: Android
Development Operating System: Windows
The text was updated successfully, but these errors were encountered:
I'm using pan responder to handle touches and I see that it raises move events while simple tapping on Android
please see code above
I want to handle touch moves only and single taps should be passed to child component
But I see that it is quite difficult to do single tap (so it will be handled by TouchableOpacity) Because most of the time when I tap my device, move events are raised by PanResponder so TouchableOpacity doesn't works.
I tried to distinguish single taps and moves in onMoveShouldSetPanResponder handler (so I can return false in single tap case) but I see no difference in event argument
I think that timeout between tapping and raising move event is too small and should be increased (or maybe configured)
The text was updated successfully, but these errors were encountered: