Is it possible to adjust the height of a textarea dynamically based on user input, rather than relying on scrollbars when content exceeds the width and height of the field?
<textarea class="form-control"></textarea>
For instance, if a user types two paragraphs into the textarea, both paragraphs should be fully visible without needing to scroll. The textarea should initially display with only one or two lines of height when empty.