Skip to content

Releases: MurhafSousli/ngx-scrollbar

v15.0.1

13 Jun 20:56
Compare
Choose a tag to compare

What's Changed

  • fix: SSR with CDK Virtual Scroll - ResizeObserver is not defined error thrown, closes #603.
  • regret: Remove the requestAnimationFrame before emitting to afterInit and afterUpdate which was added to fix the unit tests.

Full Changelog: v15.0.0...v15.0.1

v15.0.0

03 Jun 22:46
Compare
Choose a tag to compare

What's Changed

  • feat: Upgrade to Angular 18.

Full Changelog: v14.1.1...v15.0.0

v14.1.1

30 May 23:35
Compare
Choose a tag to compare

What's Changed

  • feat: Ship the scroll timeline polyfill with the package.
  • fix: Content Security Policy violation for script-src, closes #572.

New Contributors 🎉

Full Changelog: v14.1.0...v14.1.1

v14.1.0

18 Apr 13:22
Compare
Choose a tag to compare

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-packages ngx-scrollbar/cdk and ngx-scrollbar/mat to avoid wrong dependency.

v14.0.0

23 Mar 18:45
Compare
Choose a tag to compare

What's Changed

  • fix: Scrollbar buttons - arrow icons are not being displayed in Safari mobile.

v14.0.0-beta.8

23 Mar 00:05
Compare
Choose a tag to compare
v14.0.0-beta.8 Pre-release
Pre-release

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 and offsetHeight again instead of getBoundingClientRect due to incorrect value when scrollbar is used in an overlay such as matSelect.
  • fix: (reachedEnd) does not work without subscribing to (reachedBottom).

Breaking changes:

  • Remove NgScrollbarReachModule.
  • Rename the directive MatSelectViewport to NgScrollbarMatSelectViewport.

v14.0.0-beta.6

18 Mar 02:18
Compare
Choose a tag to compare
v14.0.0-beta.6 Pre-release
Pre-release

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 of expand for track long ongoing pointer down event.
  • refactor: Only use getRtlScrollAxisType once on initialization in SmoothScrollManager.
  • refactor: matSelectViewport use instant scroll function to scroll to the selected item in the list.
  • refactor: Use getBoundingClientRect in all directives instead of clientWidth and clientHeight for high precision calculation.

Full Changelog: v14.0.0-beta.5...v14.0.0-beta.6

v14.0.0-beta.5

04 Mar 03:25
Compare
Choose a tag to compare
v14.0.0-beta.5 Pre-release
Pre-release

What's Changed

  • fix: Should not initialize the scrollbar if externalSpacer selector was set but was not found.
  • refactor: Unify properties in track and thumb directives.
  • refactor: When asyncDecetion="true" reset viewport adapter properties if viewport / content wrapper elements are removed.
  • enhance: Add missing unit tests,

v14.0.0-beta.4

02 Mar 18:26
Compare
Choose a tag to compare
v14.0.0-beta.4 Pre-release
Pre-release
  • feat: Added support for dynamically initializing scrollbars for content rendered async (3rd party libraries) using asyncDetection="auto".
  • fix: Wrong mobile attribute setter (was using SAFARI flag instead of IOS).
  • enhance: Use MutationObserver instead of ngAfterViewChecked to detect content in asyncDetection directive.
  • refactor: Improve error handling when selectors was not found in <ng-scrollbar externalViewport> component.
  • refactor: Remove the default value for track transition.
  • refactor: Add additional CSS variables to customize the fade effect when visibility="hover":
    • --scrollbar-hover-opacity-transition-enter-duration.
    • --scrollbar-hover-opacity-transition-leave-duration.
    • --scrollbar-hover-opacity-transition-leave-delay.
  • refactor: The following CSS variables were removed:
    • --scrollbar-hover-transition-duration.
    • --scrollbar-hover-transition-delay.

Breaking changes

  • Rename the option clickScrollDuration to trackScrollDuration.

v14.0.0-beta.3

27 Feb 01:06
Compare
Choose a tag to compare
v14.0.0-beta.3 Pre-release
Pre-release
  • fix: In RTL, horizontal scrollbar track click does not work properly, closes #548.
  • fix: PrimeNg integration, native scrollbar still appears in Safari browsers.
  • refactor: Enable scrollbar interactions on mobile devices.