Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MurhafSousli committed Feb 22, 2024
1 parent 696306e commit 52d4641
Show file tree
Hide file tree
Showing 54 changed files with 2,613 additions and 1,354 deletions.
32 changes: 19 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
# Changelog

## 14.0.0 beta 🚀
## 14.0.0-beta.2

- feat: Add a provider function `provideScrollbarOptions` to override of the default options.
- feat: Add a provider function `provideScrollbarPolyfill` to override the default scroll timeline polyfill link.
- feat: Add `asyncDetection` directive that helps integration with 3rd-party libraries.


### Breaking changes

- Rename `ScrollbarAppearance` default value from `standard` to `native`.
- Rename `ScrollbarVisibility` value from `always` to `visible`.

## 14.0.0 beta.1

### The core package has been written from scratch ✨

- feat: Significant performance improvement, the scrollbar does not rely on the scroll event anymore.
updating scroll thumb position is done via native CSS which means the calculation is done on the browser background worker.
- feat: Auto-height feature is default now, the component behaves like a standard HTML element and will fit its content out of the box.
- feat: Mimic the scroll behavior when the track is clicked.
- feat: Allow dragging scrollbar on mobile, replacing `mouse` events with `pointer` events.
- feat: Add `cdkVirtualScrollViewport` directive to the util package.
- feat: Add `matSelectViewport` directive to the util package, closes [#537](https://github.com/MurhafSousli/ngx-scrollbar/issues/537).
- feat: Add `scrollTimelinePolyfill` option to change the path of scroll timeline polyfill.
- enhance: Add payload to differentiate update cause, closes [#517](https://github.com/MurhafSousli/ngx-scrollbar/issues/517).
- enhance: Use `throttleTime` instead of `debounceTime` in case resize sensor needed to be throttled.
- fix: scrollbar disappearing on Firefox/Safari when reaching bottom/end, closes [#529](https://github.com/MurhafSousli/ngx-scrollbar/issues/529).
Expand Down Expand Up @@ -51,11 +61,9 @@ When viewport directive is used, it requires `externalViewport` attribute on the

```html
<ng-scrollbar externalViewport>
<div scrollViewport>
<div class="wrapper">
...
</div>
</div>
<div scrollViewport>
...
</div>
</ng-scrollbar>
```

Expand All @@ -65,11 +73,9 @@ Additionally, you can select the viewport by providing a selector `.my-viewport`

```html
<ng-scrollbar externalViewport=".my-viewport">
<div class="my-viewport">
<div class="wrapper">
...
</div>
</div>
<div class="my-viewport">
...
</div>
</ng-scrollbar>
```

Expand Down
Loading

0 comments on commit 52d4641

Please sign in to comment.