Jump to content
Search Community

ScrollTrigger snap min and max duration

sproott test
Moderator Tag

Recommended Posts

When I set the min and max properties on the duration of the snap, I expected to have the snap be fastest when the page is almost aligned and slowest when it's scrolled between pages. Instead, it always seems to take the maximum time and does not take the closeness into consideration. Am I doing something wrong?

See the Pen NWyzqXw by sproott (@sproott) on CodePen

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...