I have a Draggable property that lets you scroll infinitely through a list of items. I have this functionality working nicely, but it's relying on Draggable to control the animation.
I'm looking to add to or replace Draggable with ScrollTrigger (question: does ScrollTrigger work on touch devices? If so, I probably don't need draggable at all), but as the page is a fixed height there's actually no "scrolling" going on at all, I'm unsure on how to capture the scroll data.
I
Hi,
I knew there was an example created with the Observer Plugin somewhere, here you go:
See the Pen zYaxEKV by GreenSock (@GreenSock) on CodePen
You can play with it and make it fit your needs. This uses the horizontal loop helper function instead of the vertical one, but the principle behind both is the same, so you shouldn't have any issues using that bit of code.
Hopefully this helps.
Happy Tweening!