Closed beckysiegel closed 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.
I wish we had a user-side fix to this in webcomponents.
LGTM
oshit, was coming to review this, blam-o, already done! 🎉
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.