Sukru Posted April 15, 2023 Posted April 15, 2023 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.
GreenSock Posted April 16, 2023 Posted April 16, 2023 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! 1
Sukru Posted April 16, 2023 Author Posted April 16, 2023 @GreenSock Thank you very much. Can you make solution on my codepen example? is it possible
Solution GreenSock Posted April 16, 2023 Solution Posted April 16, 2023 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. 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now