forked from AkkomaGang/akkoma-fe
Merge branch 'feature/focus_reply_form' into 'develop'
Focus textarea when clicking "reply" See merge request pleroma/pleroma-fe!298
This commit is contained in:
commit
db6ff4824a
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ const PostStatusForm = {
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.resize(this.$refs.textarea)
|
this.resize(this.$refs.textarea)
|
||||||
|
|
||||||
|
if (this.replyTo) {
|
||||||
|
this.$refs.textarea.focus()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const preset = this.$route.query.message
|
const preset = this.$route.query.message
|
||||||
|
|
Loading…
Reference in a new issue