I am having a strange issue with jScrollPane plugin. After several days of using several settings, I still don’t find my mistake. The problem is when using scrollTo function from jScrollPane it makes a strange thing. To see what I mean, go to this http://jsfiddle.net/DJb6U/, and click on the ‘click me’ grey div. Look at the left of the RESULT as the div is scrolling. The scroll goes 1 pixel left and then it goes right as it should. What am I doing wrong here? Am I missing something or is this a bug?
Thank you very much.
It’s a bug of the component.
See http://jscrollpane.kelvinluck.com/scroll_to_animate.html. The page have the same problem you are having.
Do a breakpoint at line #756 in http://jscrollpane.kelvinluck.com/script/jquery.jscrollpane.js to start resolving the issue.
Mathematics are not helping here. The component is not doing quite well it calculation. It left precition.