Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MurhafSousli committed Jul 8, 2024
1 parent 3537fdb commit 87f0b8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 15.0.4

- fix: global Angular app styles gets broken in Firefox, closes [#615](https://github.com/MurhafSousli/ngx-scrollbar/issues/615).

## 15.0.3

- feat: Ability to set the scrollbar CSS variables from `:root` or any parent selector, closes [#591](https://github.com/MurhafSousli/ngx-scrollbar/issues/591) and [#606](https://github.com/MurhafSousli/ngx-scrollbar/issues/606).
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-scrollbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-scrollbar",
"version": "15.0.3",
"version": "15.0.4",
"license": "MIT",
"homepage": "https://ngx-scrollbar.netlify.com/",
"author": {
Expand Down

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion projects/ngx-scrollbar/src/lib/utils/scrollbar-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { DOCUMENT, isPlatformBrowser } from '@angular/common';
import { NG_SCROLLBAR_POLYFILL } from '../ng-scrollbar.model';
import { ScrollTimelineFunc } from './common';

const scrollTimelinePolyfillUrl: string = 'https://flackr.github.io/scroll-timeline/dist/scroll-timeline.js';
// This CDN link is for a modified version of the polyfill to fix the firefox bug https://github.com/MurhafSousli/ngx-scrollbar/issues/615
const scrollTimelinePolyfillUrl: string = 'https://cdn.statically.io/gist/MurhafSousli/c852b6a672069396953f06ddd4b64620/raw/7089126915c424e85fba611d179fc5687b8743a0/scroll-timeline.js';

@Injectable({ providedIn: 'root' })
export class ScrollbarManager {
Expand Down

0 comments on commit 87f0b8d

Please sign in to comment.