We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e042a78 commit 3637d8dCopy full SHA for 3637d8d
src/packages/frontend/frame-editors/jupyter-editor/cell-notebook/actions.ts
@@ -1096,3 +1096,4 @@ export class NotebookFrameActions {
1096
this.jupyter_actions.syncdb.commit();
1097
};
1098
}
1099
+
src/packages/frontend/jupyter/cell-list.tsx
@@ -742,7 +742,8 @@ export const CellList: React.FC<CellListProps> = (props: CellListProps) => {
742
frameActions.current?.set_cur_id(id);
743
}}
744
onDragStop={(oldIndex, newIndex) => {
745
- actions?.moveCell(oldIndex, newIndex);
+ const delta = newIndex - oldIndex;
746
+ frameActions.current?.move_selected_cells(delta);
747
setTimeout(() => {
748
frameActions.current?.scroll("cell visible");
749
}, 0);
0 commit comments