webraptor / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
126 stars 81 forks source link

Card touch abort with reference #125

Closed forchello closed 4 months ago

forchello commented 4 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 4 months ago

Forgot to describe the solution:

Just use disableRightSwipe or another direction. This blocks a swipe