react-native-deck-swiper
react-native-deck-swiper copied to clipboard
Lag in onTapCard, onSwipedLeft, onSwipedRight after performing swipeBack
Hi,
Thanks for the library maintenance. I am performing actions like onSwipedLeft, onSwipedRight, onTapCard which are working as expected [without any delay] . However, after performing swipeBack, there is a time lag before which I am able to correctly perform above actions. [ Working fine after time lag, however the time lag is not desired]
Can anyone help me with the issue, so that I can perform card actions immediately after swipeBack is done?
I'm experiencing this issue as well. I believe it is due to awaiting for the animation to finish but I'm not certain how reduce the animation timeframe.
this.animatePreviousCard(this.calculateNextPreviousCardPosition(), cb)
Any help would be greatly appreciated!
I am also experiencing this issue. My previous card seems to re-render as soon as the animation is complete for swipeBack.
Let me know if this is the behavior you are talking about? I added a gif to show the issue better #99
I am experiencing a similar issues after performing swipeBack. After swipeBack is called the previous card being rendered has an image and flickers after the swipeBack animation.