Skip to content

EspoCRM – Open Source CRM Application

fix text height

Yuri Kuznetsov2b14e11259c9
diff --git a/client/src/views/fields/text.js b/client/src/views/fields/text.js
index 45c76d62e3..614fb43f19 100644
--- a/client/src/views/fields/text.js
+++ b/client/src/views/fields/text.js
@@ -647,6 +647,8 @@ class TextFieldView extends BaseFieldView {
target.value = before + "\n" + after;
target.selectionStart = target.selectionEnd = before.length + 1;
+ this.controlTextareaHeight();
+
return;
}