cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

Content won't cycle from the begining #1038

Open inspiredlabs opened 8 years ago

inspiredlabs commented 8 years ago

I'm trying to get a horizontal carousel to cycle using infiniteElements:'#scroller, .column'. After reaching the last column, I'd like to scroll in the same direction by loading the first <div> again without returning back to the beginning.

Something akin to this: wrapAround: true on http://flickity.metafizzy.co

Am I correct in thinking that there's no demo for that? iscroll-master/demos/infinite/dataset.php seems overkill.

glebmachine commented 8 years ago

Iscroll have no options to support "cycle" mode. Infinite scroll designed to display large datasets with lazy loading, not for cycling content.