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() {
let options = {
root: null,
rootMargin: '300px',
threshold: 1.0
rootMargin: '0px',
threshold: 0.1
};
let intersectionObserver = new IntersectionObserver(entries => {
entries.forEach(entry => {