From a45462abf7c82ff32d8243608c50fc37d85454e8 Mon Sep 17 00:00:00 2001 From: Delemangi Date: Sun, 16 Jun 2024 14:21:13 +0200 Subject: [PATCH] Scroll to top Signed-off-by: Delemangi --- frontend/src/lib/components/user/FileRow.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/lib/components/user/FileRow.svelte b/frontend/src/lib/components/user/FileRow.svelte index 9dd2acf..d184601 100644 --- a/frontend/src/lib/components/user/FileRow.svelte +++ b/frontend/src/lib/components/user/FileRow.svelte @@ -208,6 +208,7 @@ const openShare = () => { if (file.shared) { visible = true; + window.scrollTo(0, 0); } };