update textarea size
This commit is contained in:
committed by
Oleksandr Turchyn
parent
be4962a02a
commit
26ae5f1d80
@@ -147,7 +147,7 @@ export default {
|
||||
const textarea = this.$refs.textarea
|
||||
|
||||
textarea.style.height = 'auto'
|
||||
textarea.style.height = Math.min(350, textarea.scrollHeight) + 'px'
|
||||
textarea.style.height = Math.min(250, textarea.scrollHeight) + 'px'
|
||||
},
|
||||
toggleTextArea () {
|
||||
this.isTextArea = true
|
||||
|
||||
Reference in New Issue
Block a user