Skip to content

Commit

Permalink
fix: select first inserted cell when inserting a sheet
Browse files Browse the repository at this point in the history
Makes it obvious to the user where the insertion starts
  • Loading branch information
mgreminger committed Nov 26, 2024
1 parent 25f2f87 commit 4413b3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 4413b3a

Please sign in to comment.