Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested slider #488

Open
serveyk0-work opened this issue Nov 9, 2023 · 2 comments
Open

Nested slider #488

serveyk0-work opened this issue Nov 9, 2023 · 2 comments

Comments

@serveyk0-work
Copy link

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?

@sntg-p
Copy link

sntg-p commented Dec 15, 2023

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

@alex-martino
Copy link

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants