czkat Posted May 25, 2021 Share Posted May 25, 2021 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 More sharing options...
Cassie Posted May 25, 2021 Share Posted May 25, 2021 I'm not seeing any errors I'm afraid? Link to comment Share on other sites More sharing options...
akapowl Posted May 25, 2021 Share Posted May 25, 2021 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 More sharing options...
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