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
Quick question. Are you pre-populating with the long text via state? Or are you copy and pasting the long text into the text area?
I've used native textarea with expanding content before and it does work for me. Though I haven't tested out the case of pre-populating a large amount of text via state yet (but I'll give that a try when I get the chance)
Here's my sample snippet, which isn't much different from yours. Most of the additional styles are just to make the textarea look better for my use case.
Describe the bug
Autosize on the native_textarea doesn't expand to show all content.
To Reproduce
Steps to reproduce the behavior:
Create an app with a native_textarea and give it a long text string.
Expected behavior
The textarea should expand to show all lines of text not showing vertical scrollbars.
Screenshots
This is three native_textarea, all get a scrollbar. Last one (that I've scrolled half a line) has 4 lines only 3 area visible default.
Desktop System Info
Additional context
I not that the height of the textarea element gets set automatically, I'm guessing this is an Angular issue?
The text was updated successfully, but these errors were encountered: