Textarea Auto Grow
This show how to make text are grow automatically.
jsx
<textarea
onInput={(e) => {
e.target.style.height = "5px";
e.target.style.height = e.target.scrollHeight + "px";
}}
/>;
This show how to make text are grow automatically.
jsx
<textarea
onInput={(e) => {
e.target.style.height = "5px";
e.target.style.height = e.target.scrollHeight + "px";
}}
/>;