Reduce deferred comments observer margin

This commit is contained in:
2026-08-29 13:53:00 +02:00
parent 2f8f7472ca
commit 29e6dee609
3 changed files with 7 additions and 3 deletions
@@ -536,7 +536,7 @@ export default function ArtworkComments({
try {
observer = new window.IntersectionObserver((entries) => {
if (entries.some((entry) => entry.isIntersecting)) trigger()
}, { rootMargin: '1000px 0px' })
}, { rootMargin: '350px 0px' })
observer.observe(section)
established = true
} catch {