This commit is contained in:
tamaina 2023-07-17 08:13:46 +00:00
parent e609b3b7dc
commit 4bef4953b8
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ watch([() => props.pagination.reversed, $$(scrollableElement)], () => {
weakBacked = entries[0].isIntersecting;
}, {
root: scrollableElement,
rootMargin: props.pagination.reversed ? '-110% 0px 110% 0px' : '110% 0px -110% 0px',
rootMargin: props.pagination.reversed ? '-115% 0px 115% 0px' : '115% 0px -115% 0px',
threshold: [0],
});
console.log('new scrollObserver', scrollObserver);