[Text Area] Add support for "auto-height" - expanding height as needed based on input length. #11678
Open
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
Calcite (design)
Issues logged by Calcite designers.
enhancement
Issues tied to a new feature or request.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Description
Currently, the Text Area height can only be controlled with min / max height css properties. There are many use cases where there is a need to increase the size of the Text Area, to grow along with user entry.
Acceptance Criteria
I'd like a configuration option for the component to handle this. I'd expect the component, in this mode, to still abide by the min and max height css properties, if set. So - for instance, it would increase in size as the user enters content, until it reaches the specified max height, after which it would scroll.
Relevant Info
No response
Which Component
Text Area
Example Use Case
Screen.Recording.2025-03-05.at.1.49.50.PM.mov
The above is a pretty fragile implementation on the user-side - using some magic numbers for expected character width and number of characters per line... but it illustrates the desired design more or less.
Priority impact
impact - p2 - want for an upcoming milestone
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: