Skip to content

Commit 720ef40

Browse files
authored
Merge pull request #13 from guille-moe/fix_important_ms_edge
Fix autosizing on Microsoft Edge
2 parents bc3c6a9 + f7dcfd6 commit 720ef40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TextareaAutosize.vue

+1-1
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)