Is there any way to trigger an scroll into view interaction as I scroll/drag horizontally?
I’m using GSAP’s draggable to create the horizontal drag with inertia. Now I need to trigger a scroll into view or something similar as an element appear in the viewport horizontally.
Easier to solve this using some slider plugin and build-in API events (on slide change or slide into view do X or Y). Most modern sliders support drag (No need for GSAP for this idea).
Do you want solution by webflow interaction or by custom code?
For specific GSAP solution its better to ask this Q under GSAP forum (Add codepen).
I’m going to try Slick slider with scroll into view right know. I’ll let you know. Thanks
I think this is not an option because I need my slides to snap on each drag/swipe and AFIK that is not possible with the scrolling into view interaction. Right?