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
{{ message }}
Repository navigation
TextArea autoSize does not account for word-spacing #209
The textarea used to measure autoSize does not copy word-spacing. With custom word spacing, it can measure fewer lines than the visible textarea and leave it too short.
For example, text in a 280px textarea with 16px monospace font, 24px line height and 8px word-spacing needs three lines, but the calculation returns a two-line height.
Adding word-spacing to SIZING_STYLE changes the measured height from 58px to 82px in this case.
Activity