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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user