Jump to content


Reverse scrolltrigger actions only when reaching again top of page

Moderator Tag
Go to solution Solved by Dennyno,

Recommended Posts

Hi, following this thread: 

Adding the "once" param fixes as suggested, but how can I reverse the animation only when scrolling and ending again to top (Y: zero) ? [or example Y-100px]

onEnterBack I guess many not work, being a fixed element that doesnt enter back nowhere and I dont undertand where to add any Y value to start reversing, as it simply stay there fixed, lol :)

Something like: scroll down,  with this scrubbing, once scrolled really close to the top of the dom, then reverse the timeline, but without the scrubbing.

Im stucked and I dont even know if is something doable via scrolltrigger itself. :(

Thanks and sorry for keep on the thread, but for a misunderstanding I closed the previous one


See the Pen rNvqLWG by DedaloD (@DedaloD) on CodePen

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.