We're a place where coders share, stay up-to-date and grow their careers.
extra points for that gif
Actually, this sub-thread detour specifically just helped me learn about this for a Vue app, so thanks for that everyone :)
I used {block: "nearest"} instead of {block: "center"}. It prevents the vertical scroll. I also developed a horizontal scroll-carousel. And it works really fine!
extra points for that gif
Actually, this sub-thread detour specifically just helped me learn about this for a Vue app, so thanks for that everyone :)
I used {block: "nearest"} instead of {block: "center"}. It prevents the vertical scroll.
I also developed a horizontal scroll-carousel. And it works really fine!