metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.52k stars 605 forks source link

Support only load the next slide when setting lazyLoad #1237

Closed gojuukaze closed 1 year ago

gojuukaze commented 2 years ago

When lazyLoad sets the number, the next and previous slides are loaded.
But in most cases, we don't need to load the previous one. Therefore it is necessary to support only load the next one.

desandro commented 1 year ago

Thanks for the suggestion, but no thanks.

Flickity loads next and previous to accomodate carousels that display multiple cells within the viewport.