June 28, 2024, 11:59 p.m. | Brian Treese

DEV Community dev.to

By default, an HTML textarea control doesn’t expand or contract as content is added and removed. Sometimes this is ok, but often it would be better if we did have some control where we could allow the height to resize automatically, to better fit the content. Well, this is possible and, in fact, it’s really easy to do in Angular when using the CDK. In this example I’ll show you just how easy it is. Alright, let’s get to …

angular angularcdk angulardevelopers cdk control expand html tutorial webdev

Data Engineer

@ Michelin | Pune

Senior Research Analyst, Global Analytics & Measurement

@ NBCUniversal | London, United Kingdom

Research Scientist

@ Meta | Menlo Park, CA

NLP Speech Research Intern

@ Tencent | UK-London

Junior Senior Reliability Engineer

@ NielsenIQ | Bogotá, Colombia

[Job - 15712] Vaga Afirmativa para Mulheres - QA (Automation), SR

@ CI&T | Brazil