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?
ScrollTrigger snap min and max duration
in GSAP
Posted
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