Releases: MurhafSousli/ngx-scrollbar
Releases · MurhafSousli/ngx-scrollbar
v15.0.4
What's Changed
- fix: global Angular app styles gets broken in Firefox, closes #615.
Full Changelog: v15.0.3...v15.0.4
v15.0.3
What's Changed
- feat: Ability to set the scrollbar CSS variables from
:root
or any parent selector, closes #591 and #606.
Full Changelog: v15.0.1...v15.0.2, v15.0.2...v15.0.3
v15.0.2 (Bug in CSS variables)
What's Changed
- feat: Ability to set the scrollbar CSS variables from
:root
or any parent selector, closes #591 and #606.
Full Changelog: v15.0.1...v15.0.2
v15.0.1
What's Changed
- fix: SSR with CDK Virtual Scroll -
ResizeObserver
is not defined error thrown, closes #603. - regret: Remove the
requestAnimationFrame
before emitting toafterInit
andafterUpdate
which was added to fix the unit tests.
Full Changelog: v15.0.0...v15.0.1
v15.0.0
v14.1.1
What's Changed
- feat: Ship the scroll timeline polyfill with the package.
- fix: Content Security Policy violation for script-src, closes #572.
New Contributors 🎉
- @Smarthard made their first contribution in #582
Full Changelog: v14.1.0...v14.1.1
v14.1.0
What's Changed
- fix:
cdkVirtualScrollViewport
got dependency of @angular/material/select, closes in #573. - fix:
cdkVirtualScrollViewport
horizontal scrollbar not showing when orientation is vertical, closes in #571 - fix:
ScrollToElement
function wrong scroll position, closes in #574 - fix: Remove height and width attributes from the scrollbar SVG icons.
Breaking changes
- Remove
ngx-scrollbar/utils
package and split its directives into 2 sub-packagesngx-scrollbar/cdk
andngx-scrollbar/mat
to avoid wrong dependency.
v14.0.0
What's Changed
- fix: Scrollbar buttons - arrow icons are not being displayed in Safari mobile.
v14.0.0-beta.8
What's Changed
- feat: Support complex markup with
scrollToElement
function, closes #268. - feat: Add
provideSmoothScrollOptions
function to ease overriding the default smooth scroll options. - refactor: Enhance and simplify smooth scroll manager.
- refactor: Enhance track drag code and functionality.
- refactor: Simplify and reuse code in thumb drag code.
- refactor: Reuse code in scrollbar button component.
- regret: Use
offsetWidth
andoffsetHeight
again instead ofgetBoundingClientRect
due to incorrect value when scrollbar is used in an overlay such asmatSelect
. - fix:
(reachedEnd)
does not work without subscribing to(reachedBottom)
.
Breaking changes:
- Remove
NgScrollbarReachModule
. - Rename the directive
MatSelectViewport
toNgScrollbarMatSelectViewport
.
v14.0.0-beta.6
What's Changed
- feat: Add scrollbar buttons using
buttons
options, closes #465. - refactor: Reuse similar code in track, thumb and buttons directives.
- refactor: content wrapper selector should be direct child of the viewport.
- refactor: Use
swithcMap
instead ofexpand
for track long ongoing pointer down event. - refactor: Only use
getRtlScrollAxisType
once on initialization inSmoothScrollManager
. - refactor:
matSelectViewport
use instant scroll function to scroll to the selected item in the list. - refactor: Use
getBoundingClientRect
in all directives instead ofclientWidth
andclientHeight
for high precision calculation.
Full Changelog: v14.0.0-beta.5...v14.0.0-beta.6