fix: Update text area height while typing [CW-2438] (#8268)

This commit is contained in:
Nithin David Thomas
2023-11-01 06:09:25 +05:30
committed by GitHub
parent 8455186e9f
commit d876419b27

View File

@@ -91,6 +91,7 @@ export default {
}, },
methods: { methods: {
resizeTextarea() { resizeTextarea() {
this.$el.style.height = 'auto';
if (!this.value) { if (!this.value) {
this.$el.style.height = `${this.minHeight}rem`; this.$el.style.height = `${this.minHeight}rem`;
} else { } else {