Skip to content

Commit

Permalink
Merge pull request #302 from mgreminger/select-inserted
Browse files Browse the repository at this point in the history
fix: select the first inserted cell when inserting a sheet
  • Loading branch information
mgreminger authored Nov 26, 2024
2 parents 25f2f87 + 4413b3a commit 7f8142b
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 7f8142b

Please sign in to comment.