Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Ahmed Elabbasy

Is it possible to use scrolltrigger with smooth scrollbar

Recommended Posts

Hey Ahmed.

 

ScrollTrigger works with the actual scroll position of the page. So if you have a script that removes that functionality then ScrollTrigger won't work. Does that make sense?

 

With that being said, you could create a fake smooth scrollbar with ScrollTrigger quite easily:

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

Link to comment
Share on other sites

I am having some problems when create a fake smooth scrollbar with Scroll Trigger such scroll to element but i will try again 
thx Zach

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