Replies: 1 comment
-
Hi @molunika, Thank you for your question. This is an opinionated answer but I didn’t spend time to make the Infinite scroll example compatible with With that said I think it’s possible to achieve smooth loading like the non loop setup with the Embla API. But this is unfortunately not prioritized among other things that are on the to do list. I hope you understand. Best, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been playing around with the infinite scroll examples and changing a few things, mainly turning on looping, changing the container to 3 columns (3 slides per view) and making the index start at 2. So if an array is [0,1,2,3,4,5], the viewport will show slides [1,2,3].
An idea would be to check if 0 or 5 is in view and then fetch more data from an API. I can really get it to reload the slides smoothly.
Without looping, it's sooo much smoother.
Beta Was this translation helpful? Give feedback.
All reactions