Textarea Auto Grow
![Textarea Auto Grow](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F5ec749u0%2Fproduction%2Fc9273a8800e57e12d3b9e7f2bc2a0cb477640d85-2300x2000.png&w=128&q=75)
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";
}}
/>;