tweak options for footer observer

This commit is contained in:
Alex Martzios 2022-11-01 13:38:53 +02:00
parent 8dc9ab6aa8
commit d2ad0ba20e
1 changed files with 2 additions and 2 deletions

View File

@ -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 => {