From 56ab7c2613b0db00c66ce19df748d43136d939b4 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 7 Feb 2025 14:47:06 +0100 Subject: [PATCH] Focus on note once created --- gdn-app/src/components/CNote.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gdn-app/src/components/CNote.vue b/gdn-app/src/components/CNote.vue index f5ac5de..8419ada 100644 --- a/gdn-app/src/components/CNote.vue +++ b/gdn-app/src/components/CNote.vue @@ -82,6 +82,7 @@ function onCreatorClose() { function onCreatorFinish(text: string) { notes.appendNewChildNote(props.noteId, text); + ui.focusPath = pathAppend(props.path, children.value.length - 1); onCreatorClose(); } @@ -129,8 +130,8 @@ function onCreatorFinish(text: string) {