Share Posted December 21, 2020 Hi guys! I'm trying to reproduce the smooth scroll on drag, this is an example. Do you guys have any idea how can I make it? https://www.designembraced.com Link to comment Share on other sites More sharing options...
Share Posted December 21, 2020 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: 1 Link to comment Share on other sites More sharing options...
Share Posted December 21, 2020 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 https://github.com/idiotWu/smooth-scrollbar/issues/222 Maybe it inspires you. 4 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now