fix: block scroll only if layout is scrollable

This commit is contained in:
Sergey Andrievskiy 2019-07-02 14:17:32 +03:00
parent 8b2121d67d
commit ad08ee51ec

View file

@ -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$),
) )