From 752c01ba91152fb1deb8f6c485104a38282a2966 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 14 Jul 2023 05:25:44 +0000 Subject: [PATCH] ? --- packages/frontend/src/components/MkPagination.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index c44f8aa5ec..827879d4df 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -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 });