CSS:
- The basic themes doesn't use
opacity
anymore to make the handle color transparent, it uses nowbackground: 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. Theaxis
property is now deprecated and its replacement is the newscroll
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.