Skip to content

Commit 741eba2

Browse files
authored
Merge pull request #6612 from nextcloud/backport/6609/stable29
[stable29] fix(files): set focus on image description right after inserting
2 parents 3e75870 + 3c01f56 commit 741eba2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/nodes/ImageView.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ export default {
279279
},
280280
onLoaded() {
281281
this.loaded = true
282+
this.$nextTick(() => {
283+
this.$refs.altInput?.focus()
284+
})
282285
},
283286
async updateEmbeddedImageList() {
284287
this.embeddedImageList = []

0 commit comments

Comments
 (0)