Skip to content

Commit

Permalink
Merge pull request #6609 from nextcloud/fix/6152-set-focus-on-descrip…
Browse files Browse the repository at this point in the history
…tion

fix(files): set focus on image description right after inserting
  • Loading branch information
mejo- authored Nov 7, 2024
2 parents 689609b + c2b7c96 commit 1fb968b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nodes/ImageView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ export default {
},
onLoaded() {
this.loaded = true
this.$nextTick(() => {
this.$refs.altInput?.focus()
})
},
async updateEmbeddedImageList() {
this.embeddedImageList = []
Expand Down

0 comments on commit 1fb968b

Please sign in to comment.