From ca0f46b41412192c6ff38c1dd6a07465c3337db8 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Tue, 26 Dec 2017 10:48:58 +0300 Subject: [PATCH] Fix: Scroll doesn't propagate by default (PerfectScrollbar) --- .../fuse-perfect-scrollbar.directive.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts b/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts index 0f882493..2a6ead59 100644 --- a/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts +++ b/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts @@ -49,7 +49,9 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD } // Initialize the perfect-scrollbar - this.ps = new PerfectScrollbar(this.element.nativeElement); + this.ps = new PerfectScrollbar(this.element.nativeElement, { + wheelPropagation: true + }); } ngOnDestroy()