From 1c35560931d1ae3577422e02cf1f018746c91479 Mon Sep 17 00:00:00 2001 From: cnouguier Date: Mon, 16 Sep 2024 13:49:13 +0200 Subject: [PATCH] wip: Refactor collections based components #917 --- core/client/components/collection/KScrollDown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/components/collection/KScrollDown.vue b/core/client/components/collection/KScrollDown.vue index ef8159efc..2a8050826 100644 --- a/core/client/components/collection/KScrollDown.vue +++ b/core/client/components/collection/KScrollDown.vue @@ -73,7 +73,7 @@ const refresh = _.debounce(() => { else { const ratio = clamp(qScrollUtils.getVerticalScrollPosition(targetElement) / diff, 0, 1) const percent = Math.round(ratio * 10000) / 10000 - isVisible.value = percent < 1 + isVisible.value = percent < 0.99 } logger.trace(`[KDK] (KScrollDown) Refreshed with visibility: ${isVisible.value}`) }, 100)