<textarea>
element by Custom Elements.
Automatically adjust the size in block dimension of the
Automatically adjust the size in CSS block-size
of the <textarea>
element according to the input content.
block-size
is the height of the element when the writing mode is horizontally oriented; otherwise, it relates to the width of the element.
Demo
Examples
<textarea is="x-textarea-autoheight"></textarea>