wave-ui 1.53.0 → 1.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@ export default {
|
|
|
84
84
|
persistent: { type: Boolean },
|
|
85
85
|
delay: { type: Number }
|
|
86
86
|
// Other props in the detachable mixin:
|
|
87
|
-
//
|
|
87
|
+
// appendTo, fixed, top, bottom, left, right, alignTop, alignBottom, alignLeft,
|
|
88
88
|
// alignRight, noPosition, zIndex, activator.
|
|
89
89
|
},
|
|
90
90
|
|
|
@@ -185,6 +185,7 @@ export default {
|
|
|
185
185
|
const linesCount = (this.$refs.textarea.scrollHeight - this.paddingY) / this.lineHeight
|
|
186
186
|
const height = Math.max(linesCount, this.rows) * this.lineHeight + this.paddingY
|
|
187
187
|
this.$refs.textarea.style.height = height + 'px'
|
|
188
|
+
console.log('recomputing height', height)
|
|
188
189
|
},
|
|
189
190
|
getLineHeight () {
|
|
190
191
|
const computedStyles = window.getComputedStyle(this.$refs.textarea, null)
|
|
@@ -204,7 +205,7 @@ export default {
|
|
|
204
205
|
watch: {
|
|
205
206
|
value (value) {
|
|
206
207
|
this.inputValue = value
|
|
207
|
-
this.computeHeight
|
|
208
|
+
this.$nextTick(this.computeHeight)
|
|
208
209
|
},
|
|
209
210
|
resizable (value) {
|
|
210
211
|
if (value) this.height = null
|
|
@@ -44,7 +44,7 @@ export default {
|
|
|
44
44
|
persistent: { type: Boolean },
|
|
45
45
|
delay: { type: Number }
|
|
46
46
|
// Other props in the detachable mixin:
|
|
47
|
-
//
|
|
47
|
+
// appendTo, fixed, top, bottom, left, right, alignTop, alignBottom, alignLeft,
|
|
48
48
|
// alignRight, noPosition, zIndex, activator.
|
|
49
49
|
},
|
|
50
50
|
|