This commit is contained in:
tamaina 2023-07-14 05:25:44 +00:00
parent ba3fa8b431
commit 752c01ba91
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ watch([() => props.pagination.reversed, $$(scrollableElement)], () => {
}, {
root: scrollableElement,
rootMargin: props.pagination.reversed ? '-100% 0px 100% 0px' : '100% 0px -100% 0px',
threshold: 0.1, // 10%queue
threshold: [0.01, 0.05, 0.1], // 10%0.01
});
console.log('new scrollObserver', scrollObserver);
}, { immediate: true });