1
0
Fork 0
mirror of https://akkoma.dev/AkkomaGang/akkoma-fe synced 2025-06-11 09:49:13 +08:00

Merge branch 'feature/focus_reply_form' into 'develop'

Focus textarea when clicking "reply"

See merge request 
This commit is contained in:
lambda 2018-08-12 10:48:08 +00:00
commit db6ff4824a

View file

@ -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