Jump to content
GreenSock

Volt 22

Layered pinning delay

Go to solution Solved by akapowl,

Recommended Posts

Hello everyone,

 

Please is there a way to slow down the transition between the different blocks in the demo?

I use scrollsmoother and I increased the smoothing but no luck,

and I also tried to add (end: () => (window.innerHeight * 1.2)) to the scrollTrigger but it doesn't work as well.

 

Thank you.

See the Pen KKpLdWW by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

  • Solution

 

Hello @Volt 22

 

2 hours ago, Volt 22 said:

Please is there a way to slow down the transition between the different blocks in the demo?

 

There is nothing being animated in this example - everything just scrolls freely until it is being pinned for some time.

 

So the only thing you would be able to change the speed on would be on how fast the user is allowed to scroll.

 

Personally I would advise against that, because in my oppinion, one of the most annoying forms of scroll-jacking is changing how fast I as a user am allowed to scroll a page - but if you really want to go that route, maybe one of these threads can help with that. 

 

 

 

 

 

 

Edit:

Maybe I was just misunderstanding what it is you actually want to do. Since you mention delay in the title, I think maybe what you want is just to have every panel be visible for a bit longer before it is being overscrolled by the subsequent panel.

 

For that you could e.g. put a margin on your panels and adjust the end of the ScrollTriggers according to that margin. Something like this maybe:

 

See the Pen RwJwpvo by akapowl (@akapowl) on CodePen

 

  • Like 4
Link to comment
Share on other sites

That was exactly what I wanted @akapowl

Thank you.

  • Like 3
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.
×