react-native-gesture-handler
react-native-gesture-handler copied to clipboard
add hook for `isDragging` to Swipeable
right now its possible to tell when drag ends (onSwipeableWillClose) but there is no way to attach functionality to when dragging starts as far as I can tell. onSwipeableWillOpen is only called when opened programmatically, not when the user starts to drag the component
~~Resolved by #999.~~
My mistake, it was for drawer.
onSwipeableWillOpen is only called when opened programmatically, not when the user starts to drag the component
Actually it's called when user finish the open gesture (release finger) and onSwipeableOpen is opened after the animation totally ended.