So this automatically resizes the textarea to fit the content. The minimal height of the textarea is the height of the placeholder text but we can change that.
There are two minor issues which I don't think we need to be bothered with:
Going between empty and non-empty state changes slightly the height of the input field
Inputing any value automatically stretches the textarea to fit 2 rows. This is visible if the placeholder text fits single line otherwise not an issue
Resolves #205
So this automatically resizes the
textarea
to fit the content. The minimal height of thetextarea
is the height of the placeholder text but we can change that.There are two minor issues which I don't think we need to be bothered with:
textarea
to fit 2 rows. This is visible if the placeholder text fits single line otherwise not an issue