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()
.pipe(
filter(() => layout.windowModeValue),
filter(() => layout.withScrollValue),
map((scrollable: boolean) => !scrollable),
takeUntil(this.destroy$),
)