Closed hakimio closed 3 years ago
I don't think this is the behavior everyone wants, most users would want the hover size to be set when the pointer is over the actual scrollbar not including the padding
Current behavior causes flickering when user hovers on the tiny "padding". I am sure nobody wants that. Also, "perfect scrollbar" doesn't have this "feature".
Why wouldn't you remove the tiny padding?
Setting --scrollbar-padding
to 0 causes ngx-scrollbar to break.
Also, it looks pretty bad without the padding.
Use 0px
not 0 because the css variable is involved in other CSS calculation
Still my point stands: it looks bad without the padding and flickering of the thumb width is unwanted behavior.
Let's keep this open and see if other users is also interested in this
If you don't agree and don't plan to do anything about it anytime soon, feel free to just close with "works as intended".
merged in v7.4.0
Reproduction
Steps to reproduce:
Expected Behavior
The hover size should be used when mouse pointer is at the very edge of the screen.
Actual Behavior
When the mouse pointer is at the very edge, scrollbar contracts again.
Long story short, the hover size should be applied when hovering over
scrollbar-y.scrollbar-control
element, not on child.ng-scrollbar-track
.