react-native-reanimated-carousel
react-native-reanimated-carousel copied to clipboard
Nested slider
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?
Maybe you can use onSnapToItem
on each inner carousel to notify the parent one when snapping to the last item.
@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!