mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
test
This commit is contained in:
parent
7fe882d0e2
commit
e609b3b7dc
1 changed files with 2 additions and 3 deletions
|
@ -184,9 +184,8 @@ watch([() => props.pagination.reversed, $$(scrollableElement)], () => {
|
|||
weakBacked = entries[0].isIntersecting;
|
||||
}, {
|
||||
root: scrollableElement,
|
||||
rootMargin: props.pagination.reversed ? '-100% 0px 100% 0px' : '100% 0px -100% 0px',
|
||||
// 12%以上先頭にいる場合はweakBackedをtrueにしたい
|
||||
threshold: [0, 0.02, 0.04, 0.06, 0.08, 0.10, 0.12],
|
||||
rootMargin: props.pagination.reversed ? '-110% 0px 110% 0px' : '110% 0px -110% 0px',
|
||||
threshold: [0],
|
||||
});
|
||||
console.log('new scrollObserver', scrollObserver);
|
||||
}, { immediate: true });
|
||||
|
|
Loading…
Reference in a new issue