Skip to content

Commit 49f2c4c

Browse files
authored
Fix arrowing down through cells (#11095)
1 parent 8c71154 commit 49f2c4c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/2 Fixes/11094.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Arrowing down through cells put the cursor in the wrong spot.

src/datascience-ui/native-editor/redux/reducers/movement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export namespace Movement {
8282
if (index < arg.prevState.cellVMs.length - 1) {
8383
queueIncomingActionWithPayload(arg, CommonActionType.SELECT_CELL, {
8484
cellId: arg.prevState.cellVMs[index + 1].cell.id,
85-
cursorPos: CursorPos.Bottom
85+
cursorPos: CursorPos.Top
8686
});
8787
}
8888

0 commit comments

Comments
 (0)