mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
fix: block scroll only if layout is scrollable
This commit is contained in:
parent
8b2121d67d
commit
ad08ee51ec
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export class WindowModeBlockScrollService implements OnDestroy {
|
||||||
|
|
||||||
this.scrollService.onScrollableChange()
|
this.scrollService.onScrollableChange()
|
||||||
.pipe(
|
.pipe(
|
||||||
filter(() => layout.windowModeValue),
|
filter(() => layout.withScrollValue),
|
||||||
map((scrollable: boolean) => !scrollable),
|
map((scrollable: boolean) => !scrollable),
|
||||||
takeUntil(this.destroy$),
|
takeUntil(this.destroy$),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue