diff --git a/frontend/src/routes/issues/table/+page.svelte b/frontend/src/routes/issues/table/+page.svelte index 9f98ced3..80f8fb7b 100644 --- a/frontend/src/routes/issues/table/+page.svelte +++ b/frontend/src/routes/issues/table/+page.svelte @@ -18,7 +18,10 @@ const serviceRequestResStore = useServiceRequestsResponseStore(); let listElement: HTMLElement | undefined; - $: if ($serviceRequestResStore.type === 'success') listElement?.scrollIntoView(); + $: if ($serviceRequestResStore.type === 'success') { + listElement?.scrollIntoView(); + window.scrollTo({ top: 0, behavior: 'instant' }); + } {#if $serviceRequestsRes.type === 'success'}