mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-02 11:03:44 +00:00
fix: Expand title height of textarea on load (#6103)
This commit is contained in:
committed by
GitHub
parent
1bf23055df
commit
3e91765472
@@ -37,6 +37,13 @@ export default {
|
||||
this.resizeTextarea();
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
if (this.value) {
|
||||
this.resizeTextarea();
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
resizeTextarea() {
|
||||
if (!this.value) {
|
||||
|
||||
Reference in New Issue
Block a user