Skip to content

TextAreaField: unable to set minimum height for initial load #4782

@shivom-thakur

Description

@shivom-thakur

General objective

Ensure the textarea component functions correctly with resize: auto by properly respecting and applying the configured minimum height, providing a consistent and predictable user experience.

Specific objectives

Identify why the textarea does not honor the defined min-height when resize is set to auto.
Fix the autosize behavior so the textarea initializes with at least the specified minimum height.
Ensure the textarea dynamically grows with content without shrinking below the minimum height.
Validate that the fix works across supported browsers and does not introduce regressions.
Update related styles or logic (CSS/JS) to maintain consistency with existing textarea behavior.
Add or update tests (unit/integration) to cover min-height and auto-resize scenarios, if applicable.

Outcome

The textarea renders with the configured minimum height on initial load.
With resize: auto, the textarea expands correctly based on content and never shrinks below the minimum height.
Behavior is consistent across all supported browsers.
No existing textarea functionality or styling is broken.
Relevant tests are added or updated and pass successfully.
The fix is reviewed, merged, and documented if required (e.g., changelog or component docs).

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions