fix: Expand title height of textarea on load (#6103)

This commit is contained in:
Nithin David Thomas 2022-12-23 03:44:30 +05:30 committed by GitHub
parent 1bf23055df
commit 3e91765472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,13 @@ export default {
this.resizeTextarea();
},
},
mounted() {
this.$nextTick(() => {
if (this.value) {
this.resizeTextarea();
}
});
},
methods: {
resizeTextarea() {
if (!this.value) {