Skip to content

Commit f7dcfd6

Browse files
committed
Use '' instead of undefined for setProperty priority arg,
undefined not change css property on edge.
1 parent bc3c6a9 commit f7dcfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TextareaAutosize.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default {
112112
* Auto resize textarea by height
113113
*/
114114
resize: function () {
115-
const important = this.isHeightImportant ? 'important' : undefined
115+
const important = this.isHeightImportant ? 'important' : ''
116116
117117
this.$el.style.setProperty('height', 'auto', important)
118118

0 commit comments

Comments
 (0)