Jump to content
Search Community

Starting Position when using InvalidateOnRefresh with ScrollTrigger and MotionPath

swansondesigns test
Moderator Tag

Recommended Posts



I know I'm supposed to create a minimal demo but I'm really close to launching this project and I'm under a bit of a time crunch.  I think this will either come down to "Oh you just need to do this" or I'll need to find a temporary workaround and come back when I have more time (totally fine if that is what I have to do).  As a substitute for a minimal, I made a video to show the issue.




If this can be diagnosed with just the video, that is awesome.  If it can't, I promise I will come back after this thing is live and make a minimal demo.


Thank you for your time.




Link to comment
Share on other sites

Hey Graham!


Have you tried running ScrollTrigger.refresh() after everything is ready?

Another option is to force the initial position of the biker at startup.


You can check the examples in this thread:


Hopefully this helps.

Happy Tweening!

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