alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
1.57k stars 464 forks source link

onTapCard making the Swiper reset to start? #282

Open balakedev opened 4 years ago

balakedev commented 4 years ago

So, the idea is to have a modal appear with more info when someone taps. I have the modal appearing with the right data. That was easy. but it appears when a user taps on the Swiper, the modal shows with the right data, but the Swiper resets to its starting point. So the modal is now sitting ontop of the wrong card and when users go back to the swiper they have to start all over again.

Q: How can i disable this or get the Swiper to to stay at the current card unless the user swipes left or right?