github KingSora/OverlayScrollbars v1.5.0
OverlayScrollbars Version 1.5.0

latest releases: v2.10.1, v2.10.0, v2.9.0...
6 years ago

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.

Don't miss a new OverlayScrollbars release

NewReleases is sending notifications on new releases.