This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
await onUpdate();
|
||||
await tick();
|
||||
|
||||
if (!bodyElem) return;
|
||||
|
||||
const intersectionObserver = new IntersectionObserver(
|
||||
async (entries, observer) => {
|
||||
if (entries.filter((e) => e.isIntersecting).length === 0 || !entries) return;
|
||||
|
||||
Reference in New Issue
Block a user