Releases: KingSora/OverlayScrollbars
Releases · KingSora/OverlayScrollbars
OverlayScrollbars Version 2.11.5
Bug Fixes
- Sometimes when resizing the window, scrollbars applied to the body element werent updated aoccrdingly.
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.11.4
Bug Fixes
- Remove scrollbars
click
event when its no longer required. #720
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.11.3
Improvements
- Introduce and document the new
CSS Custom Properties
:--os-viewport-overflow-x
and--os-viewport-overflow-y
which can be used to better control theoverflow
style of theviewport
element. - Support for the
auto
value for overwrites of theoverflow
style of theviewport
.
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.11.2
Improvements
- Streamline css styles for the viewport and wrapper elements to allow overwrites of the
overflow
property. #718
Bug Fixes
- Initialization bridging via
data-overlayscrollbars-initialize
attribute conflicted with theshowNativeOverlaidScrollbars: true
option when initialized to the body element. #713
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.11.1
Improvements
- Use the ResizeObservers
options.box
option to remove the need for additional DOM elements in supported browsers. - Significant performance improvements in the
update
logic.
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.11.0
Features
- Add the possibility to define a
trusted type policy
for websites with a CSP. #697
Improvements
- Change
ScrollAnimationTimeline
keyframes to not animate css-custom-properties to improve scroll performance. #705
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.10.1
Improvements
- Add
pen
to the list of "hoverable" pointer devices. #690
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.10.0
Features
- The option
scrollbars.clickScroll
now supports the value'instant'
. TheClickScrollPlugin
is not required for it to work. #645
Improvements
- Rewrite
clickScroll
animation for better performance and to support in and out easing for a smoother animation.
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.9.0
Features
Improvements
- Reduced bundle size due to removed compatiblity code.
clickScroll
will not cancel on fast clicks / taps. #650- Add easing to the
clickScroll
animation. - The scrollbar-handle offset and size calculations are now entirely in CSS and will not force reflows.
- Use custom css properties for setting the scrollbar-handle offset and size.
Bug Fixes
- Only take the initial scroll coordinates from the
viewport
element if it has a scrollable overflow. (Otherwise take the initial scroll coordinates from the target element) #652
Changelogs:
You can read further details in the corresponding changelogs.
OverlayScrollbars Version 2.8.0
Breaking Changes
- Although not a major release, I've decided to remove the
rtlScrollBehavior
field from theEnvironment
object. The reason for it is a switch of how the library now detects scroll coordinates for non default flow directions. The replacement for this field is thescrollCoordinates
field of theState
object for each instance.
Features
- Support non default flow directions (block and inline) not only
direction: rtl
. #625 - A new field
scrollCoordinates
in theState
object. It indicates the min. and max. scroll coordinates for the viewport. (useful for non default flow direction scrolling) - A new field
scrollCoordinatesChanged
in theupdateHints
object. It indicates whether the scroll coordinates changed in an update.
Improvements
- Fix a Firefox only behavior where releasing a scrollbar handle over an anchor would trigger the anchor and navigate to it.
- Change
zoom
detection: instead of thewindow.resize
event, thewindow.matchMedia
event is used. - Greatly improve how dragging and releasing the scrollbar handle behaves for
scroll-snapped
viewports.
Bug Fixes
- Fix a bug here pointer capture was released too early for wacom pen devices. #630
Changelogs:
You can read further details in the corresponding changelogs.