CSS Solves Auto-Expanding Textareas

Summary:
The author came across a discussion about a CSS update called “textarea { form-sizing: normal; }”. They found it to be a strange name choice but saw that it was already available in Chrome Canary with the “web experiments” flag enabled. Adam, the author, thinks it is useful and hopes it will be usable across all browsers. Lea Verou also shared the sentiment and mentioned that it could open the door for horizontally growing single-line inputs. The author previously used a CSS grid trick to achieve this effect. They credit Stephen Shaw for the original idea.

https://chriscoyier.net/2023/09/29/css-solves-auto-expanding-textareas-probably-eventually/

To top