Skip to content

Commit 69e29cd

Browse files
authored
Merge pull request #12 from lenzls/master
Aria hidden is now correctly treated as an attribute instead of a style
2 parents b8db5a7 + d1f3a86 commit 69e29cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vue-input-autowidth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export default {
3535
fontVariantNumeric: styles.getPropertyValue("font-variant-numeric"),
3636
letterSpacing: styles.getPropertyValue("letter-spacing"),
3737
padding: styles.getPropertyValue("padding"),
38-
textTransform: styles.getPropertyValue("text-transform"),
39-
ariaHidden: true
38+
textTransform: styles.getPropertyValue("text-transform")
4039
});
40+
el.mirror.setAttribute("aria-hidden", "true");
4141
document.body.appendChild(el.mirror);
4242
checkWidth(el, binding);
4343
},

0 commit comments

Comments
 (0)