rootMargin fix

master
km0 3 years ago
parent 42b39da84d
commit 9d620aa689

@ -19,7 +19,7 @@ for (let i = 0; i <= 1.0; i += 0.01) {
}
let observer = new IntersectionObserver(callback, {
rootMargin: "100% 0% -25% 0%",
rootMargin: "100% 0% -50% 0%",
threshold: threshold,
});

Loading…
Cancel
Save