fix: Update text area height while typing [CW-2438] (#8268)
This commit is contained in:
committed by
GitHub
parent
8455186e9f
commit
d876419b27
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user