Fixed #12.
Fixed a bug where scroll().x.handleLengthRatio
or scroll().y.handleLengthRatio
was sometimes NaN instead of 0.
Fixed a bug where the plugin wasn't updated properly if the DOM of os-content
was changed.
Fixed a bug where callbacks got fired, but the initialization wasn't complete.
Fixed a bug where scroll-size wasn't calculated properly because of margin. (I detected this bug only in Firefox and created a issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1439305)
To detect this bug, the globals have a new property with the name restrictedMeasuring
which is a boolean
.
Increased performance if plugin is initialized to auto-sized elements.
I've added a dynamic content demo on the demo page.