1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

Fixes firefox error

This commit is contained in:
Amir Raminfar
2020-01-12 20:09:28 -08:00
parent f110a4c2f3
commit 911a25e0f0

View File

@@ -49,7 +49,7 @@ export default {
const intersectionObserver = new IntersectionObserver(
entries => (this.paused = entries[0].intersectionRatio == 0),
{ threshholds: [0, 1] }
{ threshholds: [0, 1], rootMargin: "80px 0px" }
);
intersectionObserver.observe(this.$refs.scrollObserver);