Because of a rotated content area, textoverflow, and a -webkit issue about the scroll bar not showing properly I\'ve decided to use jscrollpane. For initial issue: Origina
Welcome to stackoverflow!
This looks like a simple problem of timing. You are/something is altering the content of the scroll pane after the jsScrollPane()
function has run.
First try simply including it in a $(document).ready()
function. If that doesn't work go through your functions and check to see if any javascript is altering the size of that container and add jsScrollPane()
as a callback.
Pretty sure the first will work for you though :)
jScrollPane has some options for solving this:
autoReinitialise:true
(adds processing overhead.. use only if necessary)
http://jscrollpane.kelvinluck.com/auto_reinitialise.html
reinitialise()
(manually update pane size)
http://jscrollpane.kelvinluck.com/dynamic_content.html