Jump to content
GreenSock

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

Need help for making a smooth scroll with sticky sections

Go to solution Solved by ZachSaucier,

Recommended Posts

Just now, FarrukhHassan said:

Can anyone help me out this. I just want sticky section with smooth scroll.
 

Smooth scrolling is working fine. I just want to make section sticky like this(

See the Pen GmRqqN by abbasarezoo (@abbasarezoo) on CodePen

)

Link to comment
Share on other sites

  • Solution

Hey Farrukh and welcome to the GreenSock forums.

 

To do this we recommend using an actual smooth scrolling library. Then you need to hook up your smooth scrolling functionality with ScrollTrigger via .scrollerProxy(). There are several demos in the docs for it that show you how. 

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