simple-scrollbar icon indicating copy to clipboard operation
simple-scrollbar copied to clipboard

Scrollbar starts outside of element at first

Open BabyDead opened this issue 6 years ago • 3 comments

naamloos

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.

BabyDead avatar May 14 '18 20:05 BabyDead

Have same issue

tottello avatar Jul 09 '18 16:07 tottello

@tottello oh, I just switched to simplebar now. It works kind of the same, but... well, better haha.

BabyDead avatar Jul 10 '18 16:07 BabyDead

Removing ss-hidden seems to solve the issue.

.ss-hidden {
  display: none;
}

stripthis avatar Dec 11 '18 10:12 stripthis