You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if my textarea has font-size: 10pt that this is converted to font-size: 13px on the div.textoverlay.
My textarea also has a line-height, so I updated the var textareaToOverlay to include line-height. However, the calculated line-height which was applied to the div.textoverlay was 20px, instead of 13px * 1.5 = 19.5px, which causes overlays to become misaligned when they are further down in the textarea.
Is it possible for getStyles to maintain the original units of the CSS properties it copies?
The text was updated successfully, but these errors were encountered:
I noticed that if my
textarea
hasfont-size: 10pt
that this is converted tofont-size: 13px
on thediv.textoverlay
.My
textarea
also has aline-height
, so I updated thevar textareaToOverlay
to includeline-height
. However, the calculatedline-height
which was applied to thediv.textoverlay
was20px
, instead of 13px * 1.5 = 19.5px, which causes overlays to become misaligned when they are further down in the textarea.Is it possible for
getStyles
to maintain the original units of the CSS properties it copies?The text was updated successfully, but these errors were encountered: