I was trying to figure out a way to create a slider that overflows on the right, a pretty standard design you see on lots of website.
https://codepen.io/ykvdnykw-the-bold/pen/QWoezv
I want to achieve the same exact thing with GSAP Draggable plugin, at the bottom you can see another codepen for my attempt.
I tried setting bounds: document.querySelector(".slider-wrapper"), but the result is that it is completely stucked.
Maybe it's a simple problem, but I can't come up with a solution.
You could tell me to just use the SwiperJS solution I come up with, but I really want to achieve its GSAP equivalent using Draggable plugin.
Please guys, help me.
What I'd like to achieve: (I did this using SwiperJS)
https://codepen.io/ykvdnykw-the-bold/pen/XWGvOmm