auto-resize-textarea
Reactive icon

Auto Resize Textarea

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 2 Sep (7 hours ago)
 by 
0.0
 (0 ratings)
auto-resize-textarea

Auto Resize Textarea

Details
A drop-in text area that grows with the content instead of scrolling. Fits comments, notes, and message fields naturally, feels considerably more premium than a fixed-height scrolling box, and falls back to scrolling gracefully once an optional max height is reached
Read more

Overview

Textareas don't grow on their own — the browser gives them a fixed height and a scrollbar. This component wraps a textarea in a small block that resizes it to fit the content on every change (including programmatic value changes) with an optional maximum height beyond which it scrolls.

Key features

  • Grows and shrinks automatically as the user types or deletes.
  • Optional max height with graceful scroll fallback.
  • Configurable minimum rows.
  • Resizes correctly when the value is set programmatically (form load, "clear" button, etc.).
  • Emits an OnChange event so consumers keep their variables in sync.
  • Accessible: keyboard-focusable with a visible focus ring; respects reduce-motion.
  • No dependencies.
Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category