react-native-deck-swiper icon indicating copy to clipboard operation
react-native-deck-swiper copied to clipboard

Lag in onTapCard, onSwipedLeft, onSwipedRight after performing swipeBack

Open mfsi-anup opened this issue 3 years ago • 5 comments

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?

mfsi-anup avatar Sep 01 '22 07:09 mfsi-anup

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!

kenyon-bll avatar Sep 09 '22 16:09 kenyon-bll

I am also experiencing this issue. My previous card seems to re-render as soon as the animation is complete for swipeBack.

LectricAvenue avatar Oct 19 '22 15:10 LectricAvenue

Let me know if this is the behavior you are talking about? I added a gif to show the issue better #99

bruteforks avatar Mar 16 '23 05:03 bruteforks

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.

paolopedrigal avatar Apr 07 '24 04:04 paolopedrigal