Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
JordanM

Delay page scroll until GSAP animation complete

Recommended Posts

I'm creating a landing page and using GSAP to animate some text according the the user's scroll position.

 

How can I keep the landing page in full view and only start scrolling down the page once the text animation has reached its end?

See the Pen bQxKxK by TheJordanM (@TheJordanM) on CodePen

Link to post
Share on other sites

I saw you made a comment earlier. Did you get it working? You can change positioning back to normal once it's scrolled out of view.

Link to post
Share on other sites
1 hour ago, OSUblake said:

I saw you made a comment earlier. Did you get it working? You can change positioning back to normal once it's scrolled out of view.

I had played with fixed positioning and hiding it once you had scrolled far enough but it was messy. Sticky positioning was exactly what I was looking for so thank you!

  • Like 2
Link to post
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.

×