react-native-draggable icon indicating copy to clipboard operation
react-native-draggable copied to clipboard

Activate dragging with onPressLong event

Open luchob89 opened this issue 5 years ago • 0 comments

Hi! I have an "X" image that acts as close button for my screen. I was wondering if I could change the events this way: on one normal press, go back to last Screen (Navigation.goBack() in my case) and after onLongPress, start dragging. I mean to swap what it could be considered the "expected" behaviour. Basically I want my app's user to go Back on one press and to start dragging after one second (I think that's the time value of onLongPress) of holding it's finger in the "X" image. Is there a possibility to do it? Am I missing something that can already be done? Thanks in advance!

luchob89 avatar Aug 31 '20 21:08 luchob89