Skip to content

Commit

Permalink
Merge pull request #6612 from nextcloud/backport/6609/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(files): set focus on image description right after inserting
  • Loading branch information
mejo- authored Nov 13, 2024
2 parents 3e75870 + 3c01f56 commit 741eba2
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 @@ -279,6 +279,9 @@ export default {
},
onLoaded() {
this.loaded = true
this.$nextTick(() => {
this.$refs.altInput?.focus()
})
},
async updateEmbeddedImageList() {
this.embeddedImageList = []
Expand Down

0 comments on commit 741eba2

Please sign in to comment.