Jump to content
Search Community

ScrollTrigger vertical scroll pin-spacer problem

goooon test
Moderator Tag

Recommended Posts

Hello. can't figure out how to fix this.

I searched the forum, but did not find exactly this problem. And what I did find I didn't really understand.


If pinSpace: True,  I have a huge padding below section 2. 
If pinSpacefalse, the spacer exceeds the section 3.

 

*The reason why I give so much height to section 2 is to slow down the animation. 

 

Can you help me? 

 

See the Pen gOmOxze by Gon82 (@Gon82) 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...