From 3c01f5685736b9cd5c9fc654a46012540567bdc7 Mon Sep 17 00:00:00 2001 From: "julia.kirschenheuter" Date: Wed, 6 Nov 2024 17:51:52 +0100 Subject: [PATCH] fix(files): set focus on image description right after inserting Signed-off-by: julia.kirschenheuter --- src/nodes/ImageView.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index 10b0710c4b5..03c94e3423e 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -279,6 +279,9 @@ export default { }, onLoaded() { this.loaded = true + this.$nextTick(() => { + this.$refs.altInput?.focus() + }) }, async updateEmbeddedImageList() { this.embeddedImageList = []