Releases: KingSora/OverlayScrollbars
OverlayScrollbars Version 1.4.1
Fixed #18
The calculated overflow Amount is now rounded to two decimals to prevent bugs in Internet Explorer and Edge.
Async image loads are now detected automatically. (beta)
The scroll method has been improved:
If you pass a element object with additional settings, the "block" property in the settings accepts now two new values: "center" and "nearest". It basically has now the exactly same capabilities as the scrollIntoView function.
OverlayScrollbars Version 1.4.0
Implemented #13
Fixed a bug where the plugin calculated incorrect scrollHeight if it was initialized to the body.
Fixed a bug where the plugin calculated incorrect scrollHeight if the host-element has auto-height.
OverlayScrollbars Version 1.3.0
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.
OverlayScrollbars Version 1.2.3
Fixed #8
Fixed bug in the jquery independent Version where queued scroll animations didn't started as intended.
The "screen" object is now adressed with window.screen
instead of screen
OverlayScrollbars Version 1.2.2
Fixed #7
This update only affects the non-jQuery version.
OverlayScrollbars Version 1.2.1
Fixed #6 and two other bugs.
Improved auto-height and mutation observer behavior.
OverlayScrollbars Version 1.2.0
The plugin has now two versions:
- A default version without any dependencies: OverlayScrollbars.js
- A jQuery version with jQuery as dependency: jquery.overlayScrollbars.js
The instance.scroll() method supports now special easing per axis.
The global methods was reworked.