From d2ad0ba20ead2cf174fe14b48e094f53aeaa0871 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Tue, 1 Nov 2022 13:38:53 +0200 Subject: [PATCH] tweak options for footer observer --- src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 0f6b010..8a7b504 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -199,8 +199,8 @@ export class AppComponent implements OnInit, OnDestroy { createObservers() { let options = { root: null, - rootMargin: '300px', - threshold: 1.0 + rootMargin: '0px', + threshold: 0.1 }; let intersectionObserver = new IntersectionObserver(entries => { entries.forEach(entry => {