Jump to content

Search In
  • More options...
Find results that contain...
Find results in...
Michael Gudzevskyi

Drag to scroll vertically

Recommended Posts

Hey Michael. To get this sort of smooth scrolling and dragging effect you want to combine ScrollTrigger with Draggable, using the InertiaPlugin with the Draggable bit and using a scrub of 1 or something with the ScrollTrigger.


You can see how to set up Draggable + ScrollTrigger to work together in this thread:


  • Like 1
Link to comment
Share on other sites


Hey @Michael Gudzevskyi


The creator of that page uses curtains.js and smooth-scrollbar in combination with GSAP.


He once posted the code for his dragging functionality as a demonstration in the issues section for idiotwu's smooth-scrollbar on GitHub




Maybe it inspires you.


  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.