Basilico Posted February 1, 2023 Share Posted February 1, 2023 Hi! 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 More sharing options...
Solution Rodrigo Posted February 1, 2023 Solution Share Posted February 1, 2023 Hi, Can you test the next release of ScrollTrigger and let us know how it works: https://assets.codepen.io/16327/ScrollTrigger.min.js Happy Tweening! 2 Link to comment Share on other sites More sharing options...
Basilico Posted February 1, 2023 Author Share Posted February 1, 2023 It works! 😍 How can I get my hands on that release? Link to comment Share on other sites More sharing options...
Rodrigo Posted February 1, 2023 Share Posted February 1, 2023 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 More sharing options...
Basilico Posted February 1, 2023 Author Share Posted February 1, 2023 Thanks, you made my day. 🥳 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