Jump to content
GreenSock

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

Scrollbar not defined

Recommended Posts

Hello,

 

I am trying to use of the "Pinned Sidebar with different content" example: https://codepen.io/akapowl/pen/6a2480c123d88dc391faba0ea5cc590f

However, I keep getting a "scrollEvent.js:5 Uncaught ReferenceError: Scrollbar is not defined" error. 

Does anyone know what I am forgetting here?
Thanks!

See the Pen 6a2480c123d88dc391faba0ea5cc590f by akapowl (@akapowl) on CodePen

Link to comment
Share on other sites

I'm not seeing any errors I'm afraid?

Link to comment
Share on other sites

 

Hey @czkat

 

That demo makes use of smooth-scrollbar (a third party smooth-scrolling library) and that error-message looks to me like maybe you forgot to load the js files for smooth-scrollbar in your project?

 

https://unpkg.com/smooth-scrollbar@latest/dist/smooth-scrollbar.js

 

...or are you saying, that you are getting that error on the demo you posted?

Because just as Cassie I am not getting any errors on that demo.

 

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