You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you call undoLastSwipe(animated: true) in func cardStack(_ cardStack: SwipeCardStack, didSwipeCardAt index: Int, with direction: SwipeDirection) it fails on the first card (the card is not being pushed back on top). With the any card after the first it works as expected.
The text was updated successfully, but these errors were encountered:
Hi @lukasrosenke. Just so I understand, you are calling undoLastSwipe within the didSwipeCardAt delegate method? Seems odd to me - why are you undoing immediately after swiping?
Describe the bug
If you call
undoLastSwipe(animated: true)
infunc cardStack(_ cardStack: SwipeCardStack, didSwipeCardAt index: Int, with direction: SwipeDirection)
it fails on the first card (the card is not being pushed back on top). With the any card after the first it works as expected.The text was updated successfully, but these errors were encountered: