Skip to content

Releases: KingSora/OverlayScrollbars

OverlayScrollbars Version 1.6.2

16 Jan 19:42
Compare
Choose a tag to compare

Bugfixes:

  • Fixed a bug where images which were loaded by a img element, was recognized but the DOM didn't update accordingly.

Improvements:

  • The recognition of invalid option passes was improved.
  • Internal improvements to make the textarea functionality compatible with frameworks where you are forced to use a wrapper around your web-component. (such as Angular or Aurelia)

OverlayScrollbars Version 1.6.1

16 Dec 20:38
Compare
Choose a tag to compare

Bugfixes:

  • Fixed #75
  • Fixed a bug where horizontal overflow wasn't calculated properly on textareas with content-box box-sizing
  • Fixed a bug where content-box sizing affected float detection (sometimes)

Improvements:

  • Implemented #76
  • Improved CSS
  • Textarea scroll-offset isn't jumping anymore after you changed the size to auto

Please make sure you use the latest CSS file, else this update could cause some troubles.

OverlayScrollbars Version 1.6.0

02 Dec 22:57
Compare
Choose a tag to compare

Bugfixes:

  • Fixed #70
  • Fixed #73 (OverlayScrollbars.min.css had incorrect style properties, while the non minified version was correct)
  • Fixed a bug where the complete callback of the scroll function was fired but the scroll-information from the scroll-method wasn't correct if you used them in the callback
  • Fixed a textarea-bug in IE where the plugin didn't scroll down if you created a new line

Features:

  • Added a new option called textarea.inheritedAttrs which was created to increase the control over the styling of textarea instances. Read more about it in the documentation.
  • In the .scroll()-method you can now pass a object as easing value which sepecifies a special easing.
    For example { x : 'linear', y : 'easeOutBounce' }
  • Nested instances updating improved (plugin specific classes wont cause a update anymore)
  • Increased flexbox compatibility (with the os-host-flexbox className)
  • The callbacks onOverflowChanged, onOverflowAmountChanged, onDirectionChanged, onContentSizeChanged, onHostSizeChanged and onUpdated are now dispatched after the onInitialized callback to provide the initial status. (so you don't have to handle the initial status separately in the onInitialized callback anymore)

Changes:

  • The structure of the object which the .scroll()-method returns has changed. I believe the new structure is much more practical. The old behavior is now deprecated. You can read more details in the documentation.

Internal Changes:

  • A better and cleaner structure within the construction and destriction methods.

OverlayScrollbars Version 1.5.3

07 Nov 22:34
Compare
Choose a tag to compare

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

OverlayScrollbars Version 1.5.2

09 Sep 12:27
Compare
Choose a tag to compare
  • 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)

OverlayScrollbars Version 1.5.1

13 Jul 21:52
Compare
Choose a tag to compare

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

OverlayScrollbars Version 1.5.0

21 Jun 19:18
Compare
Choose a tag to compare

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.

OverlayScrollbars Version 1.4.5

18 May 22:26
Compare
Choose a tag to compare
  • 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

OverlayScrollbars Version 1.4.4

06 May 08:05
Compare
Choose a tag to compare

OverlayScrollbars Version 1.4.3

17 Apr 19:55
Compare
Choose a tag to compare

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