mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 03:53:08 +02:00
✌️
This commit is contained in:
parent
b5f85aa9a8
commit
b60dba701c
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ watch([() => props.pagination.reversed, $$(scrollableElement)], () => {
|
|||
weakBacked = entries[0].intersectionRatio >= 0.1;
|
||||
}, {
|
||||
root: scrollableElement,
|
||||
rootMargin: props.pagination.reversed ? '-100% 0px 100% 0px' : '100% 0px -100% 0px',
|
||||
threshold: [0, 0.5, 0.1, 0.15, 0.2],
|
||||
rootMargin: props.pagination.reversed ? '-100% 0px 1000% 0px' : '1000% 0px -100% 0px',
|
||||
threshold: [0.01, 0.05, 0.1, 0.12, 0.15],
|
||||
});
|
||||
}, { immediate: true });
|
||||
|
||||
|
|
Loading…
Reference in a new issue