From 4413b3a05576c489d2db48935535332123513451 Mon Sep 17 00:00:00 2001 From: mgreminger Date: Mon, 25 Nov 2024 22:17:04 -0600 Subject: [PATCH] fix: select first inserted cell when inserting a sheet Makes it obvious to the user where the insertion starts --- src/App.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.svelte b/src/App.svelte index 2af3b6e8..170afb39 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1679,6 +1679,10 @@ Please include a link to this sheet in the email to assist in debugging the prob }, ...$insertedSheets ]; + + if (index <= $cells.length-1) { + $activeCell = index; + } }