Reduce deferred comments observer margin
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user