meteor-factory / react-native-tinder-swipe-cards

Tinder-like swipe cards for your React Native app
MIT License
1.13k stars 301 forks source link

Maybe view transforms to Yup or Nope. #101

Open ahmdx opened 7 years ago

ahmdx commented 7 years ago

When swiping up, the Maybe view is displayed properly, however, when the action is performed (i.e. the card is actually swiped up) the Yup or Nope view is displayed afterwards. The action itself is correct as handleMaybe is successfully called.

This glitch can be viewed in the gif file available on README: https://raw.githubusercontent.com/meteor-factory/react-native-tinder-swipe-cards/master/screenshots/swiper-cards.gif. Pay attention to the Nope view being displayed after the Maybe action is performed.

roots-ai commented 7 years ago

Were you able to resolve this?

ahmdx commented 7 years ago

I had a workaround. I used smoothTransition={true}. I cannot remember if only this fixed it, but you can give it a try!

claytonpiccinin commented 6 years ago

Thanks @ahmedabadie... setting smoothTransition={true} solved this issue.