mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Update Textarea.vue
This commit is contained in:
parent
ff09b40e93
commit
5ff9196130
1 changed files with 0 additions and 3 deletions
|
@ -21,10 +21,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
resize() {
|
resize() {
|
||||||
const style = window.getComputedStyle(this.$el);
|
|
||||||
|
|
||||||
this.$el.style.height = 'auto';
|
this.$el.style.height = 'auto';
|
||||||
|
|
||||||
this.$el.style.height = this.$el.scrollHeight + 'px';
|
this.$el.style.height = this.$el.scrollHeight + 'px';
|
||||||
|
|
||||||
if (parseFloat(this.$el.style.height) >= parseFloat(this.$el.style.maxHeight)) {
|
if (parseFloat(this.$el.style.height) >= parseFloat(this.$el.style.maxHeight)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue