Jump to content
Search Community

There is a lag with page scrolling while using ScrollSmoother

call007 test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

Thanks for reporting that, @call007! It should be resolved in the next release which I dropped into this fork: 

See the Pen rNrjqWy?editors=1010 by GreenSock (@GreenSock) on CodePen

 

In the meantime, though, you can just add this one line of code to fix 3.11.4:

smoother.scrollTrigger.getTween().resetTo("totalProgress", 0);

(Obviously that entails saving your ScrollSmoother as a variable named "smoother")

 

Better?

 

Sorry about any confusion there!

  • Like 3
Link to comment
Share on other sites

  • 2 months later...

 

On 1/9/2023 at 7:52 AM, call007 said:

It works fine with this line (and in the demo above) :

Could you just verify again that it works in the demo above? If so I wonder if there's some caching going on with your local setup or some other issue in the code?

Link to comment
Share on other sites

12 minutes ago, Cassie said:

 

Could you just verify again that it works in the demo above? If so I wonder if there's some caching going on with your local setup or some other issue in the code?

No, it's not working properly. The forked demo above still has the same problem. But I remember it worked fine in the demo above a couple of months ago😕

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