simple-scrollbar
simple-scrollbar copied to clipboard
Scrollbar starts outside of element at first
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 of the website.
I pretty much only gave them the ss-container class and a "height:300px" css rule. Also, these elements all have box-sizing on "border-box".
So, for an accurate description;
1 ) reload page 2 ) hover over scrollable block 3 ) see scrollbar next to scrollable block 4 ) Hover out and back in again; it fixed itself. alternate 4 ) Scroll, it'll fix itself as well.
Have same issue
@tottello oh, I just switched to simplebar now. It works kind of the same, but... well, better haha.
Removing ss-hidden
seems to solve the issue.
.ss-hidden {
display: none;
}