Releases: KingSora/OverlayScrollbars
Releases · KingSora/OverlayScrollbars
OverlayScrollbars Version 1.6.2
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 yourweb-component
. (such as Angular or Aurelia)
OverlayScrollbars Version 1.6.1
Bugfixes:
- Fixed #75
- Fixed a bug where horizontal overflow wasn't calculated properly on
textareas
withcontent-box
box-sizing - Fixed a bug where
content-box
sizing affectedfloat
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
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 thescroll
-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 aobject
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 theos-host-flexbox
className) - The callbacks
onOverflowChanged
,onOverflowAmountChanged
,onDirectionChanged
,onContentSizeChanged
,onHostSizeChanged
andonUpdated
are now dispatched after theonInitialized
callback to provide the initial status. (so you don't have to handle the initial status separately in theonInitialized
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
General:
- Added credits to Robert Penner for his easing functions.
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.231
px 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 theframework
object into thecompatibility
object, because jQuery will deprecated it in the future. - Moved the
isArray
method from theframework
object into thecompatibility
object, because jQuery will deprecated it in the future. The method has also a new name:isA
. - Removed the
.hover(inHandler, outHandler)
method from theframework
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
- 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
JS
- fixed a bug which caused a invalid scroll position calculation of the
.scroll()
method if the direction of the target element wasrtl
- 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
- I've created a FAQ page for the plugin
- The scrollbar-styling-guide is now enhanced due to #51
OverlayScrollbars Version 1.5.0
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.
OverlayScrollbars Version 1.4.5
- 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 calleddocumentMixed
. 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
OverlayScrollbars Version 1.4.3
Fixed #25
Fixed a bug where the offset of the vertical scrollbar handle wasn't calculated properly.