I suppose SOME browsers don't do this by default...
This commit is contained in:
parent
ae7b96abbf
commit
afa2baec0c
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ const PostStatusForm = {
|
|||
},
|
||||
mounted () {
|
||||
this.resize(this.$refs.textarea)
|
||||
const textLength = this.$refs.textarea.value.length
|
||||
this.$refs.textarea.setSelectionRange(textLength, textLength)
|
||||
|
||||
if (this.replyTo) {
|
||||
this.$refs.textarea.focus()
|
||||
|
|
Loading…
Reference in a new issue