Jump to content
GreenSock

Sukru

Gsap Smooth Scrollbar Plugin

Moderator Tag
Go to solution Solved by GreenSock,

Recommended Posts

Hello, I want to make the scrollbar special in the body by installing the Smooth Scrollbar plugin in the gsap project, but when I add it to the project, nothing appears in the body and the scroll does not work. Can you help me?

 

I tried to do like in the example but it didn't work

https://bayviewholidayapartments.com/

https://theresmoretolife.co.uk/

 

See the Pen PoyNawY by sukruemanet (@sukruemanet) on CodePen

Link to comment
Share on other sites

Hi @Sukru. Scrollbar is not a GreenSock product, so we can't really support that here but there is an example CodePen that shows them being used together in the ScrollTrigger.scrollerProxy() docs: 

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

 

I hope that helps!

  • Like 1
Link to comment
Share on other sites

@GreenSock Thank you very much. Can you make solution on my codepen example? is it possible

Link to comment
Share on other sites

  • Solution

Sorry, @Sukru, but these forums are intended for GSAP-related questions (please read the forum guidelines) and we can't support 3rd party libraries like Scrollbar. 

 

That being said, as a courtesy I quickly applied the setup from the CodePen I linked you to into your CodePen, so hopefully this helps: 

See the Pen LYgZPNJ?editors=0010 by GreenSock (@GreenSock) on CodePen

 

Good luck with your project. 

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