Skip to content

Text Area Expand

uipoet edited this page Feb 1, 2012 · 1 revision

<textarea> has either a fixed number of rows or CSS height. Automatically expanding the number of visible rows as the user types would allow the default size to be initially small and grow only as needed.

Requirements

  • Should use standard element for proper soft keys

      <textarea>
    
  • respect default rows and allow customized number

  • Increment by rows by one for each return keystroke

Clone this wiki locally