react-native-card-stack-swiper icon indicating copy to clipboard operation
react-native-card-stack-swiper copied to clipboard

Jump to specific card

Open turtlebe opened this issue 6 years ago • 1 comments

Hi, I hope you are going well. I am using this card-stack-swiper with data that are added dynamically. But after load the next data, the card stack moves to the first card automatically. For example, after swiping to the 10th card, the next 10 card-data is added dynamically via API. In this case, the total number of cards is 20 but it moves to the very first card. Does anybody have thoughts? Thanks.

turtlebe avatar Nov 20 '19 18:11 turtlebe

You might try:

swiperRef.current.jumpToCardIndex(cardIndex)

ENT108 avatar Nov 18 '21 11:11 ENT108