From f972137389757f08883285f0fe0b5d17a257e38f Mon Sep 17 00:00:00 2001 From: valere Date: Sun, 3 Nov 2024 17:27:54 +0100 Subject: [PATCH] FIX: scroll only screen --- pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index 2e8fc6d..5b6eaca 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -47,7 +47,7 @@ useSeoMeta({ const dataStore = useDataStore() const scrollDown = function () { - window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }) + window.scrollTo({ top: window.innerHeight, behavior: 'smooth' }) }