Jump to content
Search Community

Pin Spacer Height Issue in Horizontal Scroll

NImesh test
Moderator Tag

Recommended Posts

Hi @NImesh and welcome to the GreenSock forums!

 

This might not be the easiest thing to achieve via code. I would try creating the horizontal content, the elements before and after that in the same wrapper and pin that wrapper based on the position of the horizontal container. Something like this:

See the Pen yLREqMN 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...