react-native-reanimated-carousel icon indicating copy to clipboard operation
react-native-reanimated-carousel copied to clipboard

Nested slider

Open serveyk0-work opened this issue 1 year ago • 2 comments

I have a carousel in a carousel on my project. How can I start scrolling the outer carousel when the carousel one has run out of items?

serveyk0-work avatar Nov 09 '23 16:11 serveyk0-work

Maybe you can use onSnapToItem on each inner carousel to notify the parent one when snapping to the last item.

sntg-p avatar Dec 15 '23 14:12 sntg-p

@sntg-p would be curious any thoughts on how to do this if the sliders are not on autoplay? the inner carousel always intercepts the swipe interaction, even if it is at the end of it's content, meaning the outer carousel doesn't get the gesture. If there was a way to disable swipe interaction past the last item that would probably do the trick, but not sure how to do that.

Thanks in advance!

alex-martino avatar Mar 06 '24 19:03 alex-martino