Assets 2

General:

Bugfixes:

  • Sometimes the native scrollbar size wasn't calculated correctly in IE8 and Legacy-Opera.
  • The viewport-size is now always correct.
  • Handles floaty overflow-amounts (0.231px for example) more accurate. (for example if element is transformed / zoomed, or the browser zoom isn't exactly 100%)
  • Removed the hover method from the jQuery version, because it will be deprecated in the future. (#66)

Extensions:

  • Moved the type method from the framework object into the compatibility object, because jQuery will deprecated it in the future.
  • Moved the isArray method from the framework object into the compatibility object, because jQuery will deprecated it in the future. The method has also a new name: isA.
  • Removed the .hover(inHandler, outHandler) method from the framework object, because jQuery will deprecated it in the future. Please use the methods .on('mouseenter', inHandler) and .on('mouseleave', outHandler) instead.

The documentation is up to date: https://kingsora.github.io/OverlayScrollbars/#!documentation/extensions-basics

@KingSora KingSora released this Sep 9, 2018 · 3 commits to master since this release

Assets 2
  • Fixed the bug discussed in issue #59. (The scroll function synchronises now the DOM if needed)
  • Fixed a iFrame bug in Chrome, if you dragged the scrollbar-handle while you moved outside the iFrame the mouse won't be bound anymore to the handle if you move back in and you released the mouse button in the meanwhile.
  • In IE and Edge the plugin uses now screen coordinates instead of the page coordinates for the mouse position detection while scrollbar-handle-dragging, because the page coordinates are incorrect. (iFrame only)

@KingSora KingSora released this Jul 13, 2018 · 5 commits to master since this release

Assets 2

JS

  • fixed a bug which caused a invalid scroll position calculation of the .scroll() method if the direction of the target element was rtl
  • in very rare cases the overflow-amount was calculated incorrectly
  • sometimes the plugin was performing a full update, without it being required
  • increased performance of the non-jQuery version

General

@KingSora KingSora released this Jun 21, 2018 · 6 commits to master since this release

Assets 2

CSS:

  • The basic themes doesn't use opacity anymore to make the handle color transparent, it uses now background: rgba() to achieve the same effect.
  • Basic flexbox styles are now implemented

JS:

  • The Extension system with the new methods OverlayScrollbars.extension(), .ext(), .addExt() and .removeExt().
  • The initialization has now a new parameter which can be used to initialize OverlayScrollbars with a single or multiple Extensions
  • Implemented #50 (clickScrolling enhancement if you press shift while clicking)
  • Fixed #48
  • Fixed a bug where the display property of the host-element wasn't detected properly.
  • Firefox calculated sometimes false overflow values if the element was hidden during initialization
  • The .scroll() method element options was changed. The axis property is now deprecated and its replacement is the new scroll property. This was done in order to provide the same functionality as the Element.scrollIntoViewIfNeeded() and the Element.scrollIntoView() method.
  • A workaround in Firefox was implemented where scroll size was sometimes incorrect due to this bug.
  • The .scrollStop returns now the current OverlayScrollbars instance so you can chain the method with other methods.
  • The css transform: translate position for the scrollbar-handles is now in percent instead of pixels.

General:

  • The documentation was enhanced with a article about flexbox.
  • The documentation was enhanced with a article about extensions - with examples
  • A download page for extension has been added to the website.

@KingSora KingSora released this May 18, 2018 · 7 commits to master since this release

Assets 2
  • Fixed #41
  • Fixed #42
  • Fixed a bug where async methods were executed even if the instance were destroyed
  • Fixed a couple of iFrame bugs in InternetExplorer
  • Added a new property in the return object of the getState() method called documentMixed. It indicates whether the host-elements document isn't the same document as the one with which the plugin was initialized. If this property is true it's most likely the host-element is inside a iFrame.
  • AMD Support is back on track

@KingSora KingSora released this Apr 17, 2018 · 10 commits to master since this release

Assets 2

Fixed #25
Fixed a bug where the offset of the vertical scrollbar handle wasn't calculated properly.

@KingSora KingSora released this Apr 14, 2018 · 11 commits to master since this release

Assets 2

I've rewritten the whole option handling. It's not possible to set invalid default options anymore.
The size of the plugin was reduced about 3-4kb in the minified versions.

@KingSora KingSora released this Mar 22, 2018 · 12 commits to master since this release

Assets 2

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.

@KingSora KingSora released this Mar 2, 2018 · 13 commits to master since this release

Assets 2

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.