PolymerElements / iron-autogrow-textarea

Textarea that grows in height as more lines of input are entered
https://webcomponents.org/element/PolymerElements/iron-autogrow-textarea
19 stars 48 forks source link

Add mixin properties to mirror #109

Closed beckysiegel closed 7 years ago

beckysiegel commented 7 years ago

When different styles are added to the textarea (ex: white-space: pre), the mirror no longer accurately represents the height of the textarea.

In order to fix this, apply the mixin styles applied to the textarea to the mirror also.

e111077 commented 7 years ago

I wish we had a user-side fix to this in webcomponents.

LGTM

notwaldorf commented 7 years ago

oshit, was coming to review this, blam-o, already done! 🎉