Jump to content


ScrollTrigger.refresh() causes ScrollSmoother to scroll

Go to solution Solved by Rodrigo,

Recommended Posts


I've found this and I think it's a bug.
When I use ScrollSmoother and I need to call ScrollTrigger.refresh() (due to ajax loading, dom changes, etc.) the page "sometimes" it scrolls.
If you click on the buttons in the demo, you can see it.
You need to lick more times, scroll the page and so on.
It won't happen if the page is scrolled down to the end or at the top.

See the Pen bGjQRNj by fnool (@fnool) on CodePen

Link to comment
Share on other sites

It works! 😍
How can I get my hands on that release?

Link to comment
Share on other sites

1 minute ago, Basilico said:

It works! 😍


For now you'll have to use that file either by linking to it or download it and use it directly on your projects.


Right now we don't have a release date for 3.11.5, sorry.


Happy Tweening!

Link to comment
Share on other sites

Thanks, you made my day.  🥳

  • Like 1
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.