I suppose SOME browsers don't do this by default...
This commit is contained in:
parent
ae7b96abbf
commit
afa2baec0c
@ -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 New Issue
Block a user