diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index 1fd373559..ebce5289d 100644 --- a/apps/client/src/widgets/note_tree.ts +++ b/apps/client/src/widgets/note_tree.ts @@ -1615,6 +1615,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { if (beforeNode !== null) { branchService.moveBeforeBranch([node.data.branchId], beforeNode.data.branchId); + node.makeVisible({ scrollIntoView: true }); } } @@ -1627,6 +1628,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { if (afterNode !== null) { branchService.moveAfterBranch([node.data.branchId], afterNode.data.branchId); + node.makeVisible({ scrollIntoView: true }); } }