✌️
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