react-textarea-autosize
react-textarea-autosize copied to clipboard
Text Area grows to a height of max rows when it is re-rendered even though with a single line of text.
Initialliy it show one row but When I switch in between components. The text area grows to max rows.
@Andarist
More context: This happens when the textarea leaves and comes back into the viewport, like switching tabs etc.
In that case, it happens to add a height to the textarea style like this:
This library is in maintenance mode. PRs are welcome
I've got the same issue. @jawadakram20 end up finding a workaround for this by chance?
Anyone found another library without this issue?