Open diivyu opened 3 years ago
cardIndex={this.state.cardIndex}
By any chance do you update the cardIndex outside of the swiper component? As in incrementing it when a swipe occurs?
cardIndex={this.state.cardIndex}
By any chance do you update the cardIndex outside of the swiper component? As in incrementing it when a swipe occurs?
No.
@diivyu did you manage to fix this?
@diivyu did you manage to fix this?
No.
I'm also facing the same issue.. This seems to be bug in this module
I have a stack size of 2, while swiping the card left/right, 2 cards get release from the list. Like I have a list of 10 cards whose id are as 1,2,3,4...10. Now when I am showing them 2 cards gets displayed (id =>1,2) now when i am swiping the card the next cards that should be shown will be of(id => 2,3), but what's happening is.... That it trashes both the cards simultaneously and shows new cards having (id => 3,4). How I can manage this ? Please suggest. I am attaching my code below.