Components
← All components

Textarea Autosize

stimeo--textarea-autosize

A textarea that grows with what you type, between the row counts you set.

  • Core

Grows a text field to fit what you type, between a minimum and a maximum number of rows, so it never runs away down the page. At the maximum it switches to scrolling inside itself, and CSS can tell that it has. It also publishes roughly how many rows there are, ready for anything that depends on it. The height changing never moves focus or the caret. Each change is reported, which helps if something else has to line up with it.

running

Keyboard

This component has no keyboard interactions of its own.