sproott Posted June 2, 2022 Share Posted June 2, 2022 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 More sharing options...
GreenSock Posted June 2, 2022 Share Posted June 2, 2022 Sorry about any confusion - the duration is based on the momentum at the time of the snap. It has very little to do with the distance. 1 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