Skip to content

Commit 0c66ce6

Browse files
committed
fix #5915 -- jupyter: moving cells via ↑ or ↓ buttons does not "follow" them
1 parent da213ca commit 0c66ce6

File tree

1 file changed

+3
-0
lines changed
  • src/packages/frontend/frame-editors/jupyter-editor/cell-notebook

1 file changed

+3
-0
lines changed

src/packages/frontend/frame-editors/jupyter-editor/cell-notebook/actions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,9 @@ export class NotebookFrameActions {
828828
}
829829
}
830830
this.jupyter_actions._sync();
831+
setTimeout(() => {
832+
this.scroll("cell visible");
833+
}, 0);
831834
}
832835

833836
public toggle_source_hidden(): void {

0 commit comments

Comments
 (0)