Skip to content

Respect rows in TextareaAutosize #375

@MathiasWP

Description

@MathiasWP

Describe the feature in detail (code, mocks, or screenshots encouraged)

It would be really nice to be able to define the "minimum" amount of rows that should be rendered in a textarea that uses TextareaAutosize. Right now i have rows defined to 3, but the TextareaAutosize utility will just collapse it down to 1 row when it is empty.

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

If the api should be different, like minRows or minHeight, then LMK. I could write a PR, but i wanna know how the API should look like first 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagePending triage by a maintainer to give it proper labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions