Jump to content
Search Community

Why I find extra space after my last slide?

Sakil_Anwar12 test
Moderator Tag

Recommended Posts

I'm having a very difficult time understanding what you're trying to do. You're pinning the container but animating the contents up with the scroll using transforms...it basically feels to the user like a normal scroll, so why even do all this? 

 

My first piece of advice is to just remove ScrollTrigger altogether at first. Comment out that portion of your animation and then look at what happens. I think that'll give you more insight. It's working exactly the way it should. Focus on only your animation first. Then, once you've got that working the way you want, THEN hook it up to ScrollTrigger. That usually helps people understand things much better. 

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