remove useless rootMargin
This commit is contained in:
parent
847f40961a
commit
b4e357a213
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export default defineComponent({
|
|||
element.classList.remove("visible");
|
||||
}
|
||||
});
|
||||
}, {rootMargin: "100px"});
|
||||
});
|
||||
Array.from((root.value as Element).children).forEach((el) => {
|
||||
observer.observe(el);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue