tweak options for footer observer

This commit is contained in:
Alex Martzios 2022-11-01 13:36:59 +02:00
parent b992ade762
commit 395a6d6c78
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ export class AppComponent {
createObservers() { createObservers() {
let options = { let options = {
root: null, root: null,
rootMargin: '300px', rootMargin: '0px',
threshold: 1.0 threshold: 0.1
}; };
let intersectionObserver = new IntersectionObserver(entries => { let intersectionObserver = new IntersectionObserver(entries => {
entries.forEach(entry => { entries.forEach(entry => {