Of course, there are npm packages for auto-sizing a text field in Angular that do the job very well. Find centralized, trusted content and collaborate around the technologies you use most. When the information entered in the textarea exceeds its height, then the vertical scrollbar gets activated automatically. How can I check which version of Angular I'm using? What is the effect of cycling on weight loss? This is generally . Well Done. Not the answer you're looking for? Alternatively, the UI component's height can adapt to the UI component's contents. The attribute 'rows=x' of HTML5 limit just the view. I want efect similar to what FB does when line is full another line starts. cdkAutosizeMaxRows is used with <textarea> element. Thanks for contributing an answer to Stack Overflow! It provides features like auto resizing based on the user input and events to respond to user actions. Let's follow step: Just use maxlength attribute & it will limit maximum characters to take from user & won't allow more than that for you. HTML textarea element control with AngularJS data-binding. jQuery JavaScript $(function() { $("#textAreaContainer").dxTextArea( { spellcheck: false }); }); Angular Vue React If an end user should not be able to edit the text in the TextArea, assign true to the readOnly property. How to disable the resize grabber of