forked from AkkomaGang/akkoma-fe
Textarea is now focused when replying
This commit is contained in:
parent
32fd108e97
commit
fd484a1a62
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ const PostStatusForm = {
|
|||
},
|
||||
mounted () {
|
||||
this.resize(this.$refs.textarea)
|
||||
|
||||
if (this.replyTo) {
|
||||
this.$refs.textarea.focus()
|
||||
}
|
||||
},
|
||||
data () {
|
||||
const preset = this.$route.query.message
|
||||
|
|
Loading…
Reference in a new issue