From 58597c8076a6d6bd4c73f4bbdf9e79d4093cbfde Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Fri, 28 Oct 2022 13:34:43 +0200 Subject: [PATCH] Set timeout during loading to prevent a calendar from blocking the view --- src/App.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index 611fc65..d426f94 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -122,6 +122,10 @@ if (spinner) { spinner.$set({ isLoading: b }); } + + setTimeout(() => { + spinner.$set({ isLoading: false }); + }, 3000); }, eventSources: [], themeSystem: 'bootstrap5',