jScrollpane 2 IE8 Problem - strange behavior when hit top/bottom
http://jscrollpane.kelvinluck.com/fullpage_scroll.html and maybe in other demos, but also in my site :(
on IE8 (maybe also 6/7) and the example "BOTH", drag the bar to a absolute position, top or bottom then click on the div, you`ll get scrolled to the top of the page or the div.. this only happens if you used the mouse click and NOT the wheel
i dont know how to fix this, im using the api.reinitialise(); but apparently thats not the problem
i can开发者_Go百科 post my code if necessary but its even on the demos so..btw you can also see the scroll automoving when you hit alt+tab in the window (in my site)
#
oh, found another user with the same problem jScrollPane strange behavior in Internet Explorer
Maybe it's because you add the jScrollpane-Function. In div inside each other:
$(function() {
$('.scrollpane_outside').jScrollPane();
});
$(function() {
$('.scrollpane_inside').jScrollPane();
});
Try:
$(function() { $('.scrollpane_outside').jScrollPane(); });
$('.scrollpane.inside').jScrollPane();
This has been fixed in the jScrollPane repository:
https://github.com/vitch/jScrollPane/commit/b80165e3c5cb6d21f9569cacaffd55d33435d23c
Grab the latest code from github or my site and it should all work fine. Thanks for the bug report!
精彩评论