Jump to content
Search Community

Scrolltrigger with "scrub" and "once" leaves empty space

Christoph Erdmann test
Moderator Tag

Go to solution Solved by akapowl,

Recommended Posts

I am trying my hand at scrolltrigger (see codepen) and have the following problem: I would like the scrub functionality to play only once. If the animation is over, the last image should simply remain. If I use once: true there is a lot of space left by the ".pin-spacer". How do I solve this correctly?




See the Pen eYGjjmj by mcsodbrenner (@mcsodbrenner) 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.
  • Create New...