Fix issue with IntersectionObserver root margin

This commit is contained in:
MrTimscampi 2020-06-22 09:14:13 +02:00
parent a27eae98e5
commit 61fbf10085

View file

@ -11,9 +11,9 @@
(entries) => {
entries.forEach(entry => {
callback(entry);
},
{rootMargin: '50%'});
});
});
},
{rootMargin: '25%'});
this.observer = observer;
}