


Simple-and a simple JS implementation these days is, well, kind of refreshing. from a single Node autosize( document. From the docs: // from a NodeList autosize( document. The implementation was simple: include the script on your page, query select the (s) on the page you want to automatically resize, and pass it to the autosize function.

I was recently working on a side project and found myself wanting to automatically resize a (vertically) as content was input by the user.Īs I began looking into how to achieve this functionality, I found a great stand-alone script called autosize that’ll do this for you automatically with minimal fuss.
