1000%
This commit is contained in:
parent
d82d03890d
commit
d335da5ee4
|
@ -185,7 +185,7 @@ watch([() => props.pagination.reversed, $$(scrollableElement)], () => {
|
||||||
weakBacked = entries[0].intersectionRatio > 0.1;
|
weakBacked = entries[0].intersectionRatio > 0.1;
|
||||||
}, {
|
}, {
|
||||||
root: scrollableElement,
|
root: scrollableElement,
|
||||||
rootMargin: props.pagination.reversed ? '-100% 0px 100% 0px' : '100% 0px -100% 0px',
|
rootMargin: props.pagination.reversed ? '-1000% 0px 100% 0px' : '100% 0px -1000% 0px',
|
||||||
threshold: [0, 0.01, 0.02, 0.04, 0.08, 0.1, 0.12],
|
threshold: [0, 0.01, 0.02, 0.04, 0.08, 0.1, 0.12],
|
||||||
});
|
});
|
||||||
}, { immediate: true });
|
}, { immediate: true });
|
||||||
|
|
Loading…
Reference in New Issue