Update Textarea.vue

pull/4468/head
Tuğçe Küçükoğlu 2023-09-18 15:24:13 +03:00
parent ff09b40e93
commit 5ff9196130
1 changed files with 0 additions and 3 deletions

View File

@ -21,10 +21,7 @@ export default {
},
methods: {
resize() {
const style = window.getComputedStyle(this.$el);
this.$el.style.height = 'auto';
this.$el.style.height = this.$el.scrollHeight + 'px';
if (parseFloat(this.$el.style.height) >= parseFloat(this.$el.style.maxHeight)) {