jQuery-slimScroll
jQuery-slimScroll copied to clipboard
Changing Height of Slimscroll-Div and Mousemove FIX
I had the following problem: My menu on the left side is a Slimscroll-Div. When on a desktop the mouse is moved inside this menu and then a submenu is opened, which made the content bigger than the Div itself, the Scrollbar had to appear. But... it doesnt. The only "solution" was, to move the mouse outside the menu (the Slimscroll-Div) and inside again, so the hover() function of Slimscroll made the Scrollbar appear.
I fixed this, by adding:
me.mousemove(function( event ) { showBar(); });
after "me.hover(function(){" in line 262. It makes the Scrollbar appear directly after moving the mouse, if the height of the Slimscroll-Div has changed. In some cases this makes the (not working) option "alwaysVisible" obsolete.
+1
Same issue, happens on windows chrome/firefox ,but not on OSX