From 395a6d6c78bd0218da7c44d5686c59d15cbd2b15 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Tue, 1 Nov 2022 13:36:59 +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 301fd50..f6c0ff5 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -142,8 +142,8 @@ export class AppComponent { createObservers() { let options = { root: null, - rootMargin: '300px', - threshold: 1.0 + rootMargin: '0px', + threshold: 0.1 }; let intersectionObserver = new IntersectionObserver(entries => { entries.forEach(entry => {