diff --git a/app/javascript/submission_form/text_step.vue b/app/javascript/submission_form/text_step.vue index 3a8d509a..21dfc4a2 100644 --- a/app/javascript/submission_form/text_step.vue +++ b/app/javascript/submission_form/text_step.vue @@ -147,7 +147,7 @@ export default { const textarea = this.$refs.textarea textarea.style.height = 'auto' - textarea.style.height = textarea.scrollHeight + 'px' + textarea.style.height = Math.min(350, textarea.scrollHeight) + 'px' }, toggleTextArea () { this.isTextArea = true