Jump to content
Search Community

Drag horizontally to scroll vertically with snap

Aeronet test
Moderator Tag

Go to solution Solved by Aeronet,

Recommended Posts

Sure, you'd need to apply some snapping logic in your onDragEnd.

 

I'm sure it's very doable, especially with the gsap.utils.snap() utility method. We're happy to answer any GSAP-specific questions in these forums, but digging into ~150 lines of custom JS to help you work out logic issues and custom functionality is beyond the scope we can deliver for free in these forums. Please read the forum guidelines. If you'd like to explore paid consulting options, feel free to contact us and we'll do our best to jump in and help out. 

 

Thanks for being a Club GreenSock member! 🙌

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.
×
×
  • Create New...