You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use custom classnames, scrollbar doesn't hide when it should be, it doesn't hide at all. This can't be avoided by not passing custom visible classname because class will be undefined then (see #228).
Expected behavior
Scrollbar should hide if cursor doesn't move for X amount of time or is moving out of scroll area.
🐛 Bug
Current Behavior
If you use custom classnames, scrollbar doesn't hide when it should be, it doesn't hide at all. This can't be avoided by not passing custom
visible
classname because class will beundefined
then (see #228).Expected behavior
Scrollbar should hide if cursor doesn't move for X amount of time or is moving out of scroll area.
Suggested solution
Bug is right here: https://github.com/Grsmto/simplebar/blob/master/packages/simplebar/src/simplebar.js#L569-L582
visible
is hardcoded inhideScrollbars
method, it should bethis.classNames.visible
.Environment
SimpleBar 3.1.0-beta.5
The text was updated successfully, but these errors were encountered: