From 9d856f4f7dc748909f8e24ee9eef253b9df3654f Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 20 Sep 2022 11:01:51 +0300 Subject: [PATCH] Disable page-content sticky header release when approaching footer. --- .../sharedComponents/page-content/page-content.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/sharedComponents/page-content/page-content.component.ts b/dashboard/sharedComponents/page-content/page-content.component.ts index 93638770..68b15c12 100644 --- a/dashboard/sharedComponents/page-content/page-content.component.ts +++ b/dashboard/sharedComponents/page-content/page-content.component.ts @@ -90,7 +90,8 @@ export class PageContentComponent implements OnInit, AfterViewInit, OnDestroy { ngAfterViewInit() { if (typeof document !== "undefined") { - this.observeBottom(); + // TODO make it smooth + // this.observeBottom(); this.observeHeader(); this.observeStickyFooter(); }