vitch/jScrollPane — comment on commit 1ec254c7ef0a9fb3db7fd46939bc398671c607da
File: script/jquery.jscrollpane.js line 143
By marc-portier:

There is an issue with no longer checking the pane.outerWidth()
By returning if this test is succesful one can end up in the situation where:
* contentWidth == previousContentWidth
And then you never get out of that, even if pane.outerWidth() does change.
(because you don't update contentWidth to reflect that until later in the code)

So if you give the nested content a min-width that is equal to the panewidth, and then let it grow dynamically in width (but not in height): then the scrollbar never appears (while it should when the content-width goes beyond the pane-width)

I'm working on a demo that shows this. Basically it is a horizontal variant of the vertical-auto-reinit sample.