diff --git a/news/2 Fixes/11094.md b/news/2 Fixes/11094.md new file mode 100644 index 000000000000..b5cccbd89765 --- /dev/null +++ b/news/2 Fixes/11094.md @@ -0,0 +1 @@ +Arrowing down through cells put the cursor in the wrong spot. \ No newline at end of file diff --git a/src/datascience-ui/native-editor/redux/reducers/movement.ts b/src/datascience-ui/native-editor/redux/reducers/movement.ts index 62dbd9013126..bacac77d8398 100644 --- a/src/datascience-ui/native-editor/redux/reducers/movement.ts +++ b/src/datascience-ui/native-editor/redux/reducers/movement.ts @@ -82,7 +82,7 @@ export namespace Movement { if (index < arg.prevState.cellVMs.length - 1) { queueIncomingActionWithPayload(arg, CommonActionType.SELECT_CELL, { cellId: arg.prevState.cellVMs[index + 1].cell.id, - cursorPos: CursorPos.Bottom + cursorPos: CursorPos.Top }); }