webraptor / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
138 stars 84 forks source link

Card touch abort with reference #125

Closed forchello closed 9 months ago

forchello commented 9 months ago

Does anyone know a way to get the card back in place if it was previously offset x and y and the finger was not lifted off the screen? I mean I need to somehow trigger onSwipeAbort via ref

forchello commented 9 months ago

Forgot to describe the solution:

Just use disableRightSwipe or another direction. This blocks a swipe