simple-scrollbar
simple-scrollbar copied to clipboard
Very simple and lightweight vanilla javascript library for creating a custom scrollbar cross-browser.
Currently, there's a `moveBar` function which calculates `height`, `top` and `right`; - because of `height` calculations, I can't have a fixed-height `.ss-scroll` element (usable for really long scrolling areas), -...
I've added a simple function to detect the browser scrollbar width and adapt the style offset to this exact value.
Previously, if the scrollbar were initially hidden (due to having a small amount of content) and then enough content was added that the scrollbar became visible, the scrollbar would be...
 As you can see on my image, the scrollbar seems to be appearing outside of the element they're supposed to be in. They are hovering blocks, in the center...
To prerender the website on the server-side, the library should abstract the window and document files. Maybe it can be used domino (https://www.npmjs.com/package/domino) instead of actual window or document object....
HI, Is there any way use this with table body ?
In my case, I have some fixed-positioned elements. I put the "ss-containter" on the body tag. Once the fixed elements come into view, the scroller does not work anymore, when...