Jump to content
Search Community

Large padding when "pin: true" property is enabled in scrollTrigger

Dmytro Ivanovich test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

I made an animation of the vertical scrolling of the cards, everything works fine, the only thing is that when the "pin: true" property of the scrollTrigger is enabled, a large indent appears at the bottom of the animation block, how to deal with it? Without the "pin: true" property, the animation doesn't work the way I want it to.

Screenshot.png

Link to comment
Share on other sites

5 hours ago, mvaneijgen said:

If @akrdesign their solution is not not what you're looking for, be sure to take a look at the following topic 

And if that isn't the solution either please post a minimal demo and someone around here would surely come up with a solution 

 

 

Your advice helped a lot. Thanks a lot! now my styles work as they should.

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