Jump to content
Search Community

first panel loss the sticky attribute after pinning

mkgreeneye2 test
Moderator Tag

Recommended Posts

Yep I agree 100% with @mvaneijgen about using just ScrollTrigger for this instead of position: sticky.

 

Have a look at these demos, maybe they can provide some starting point:

 

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

 

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

 

Hopefully this helps.

Happy Tweening!

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