Skip to content

Allow <textarea> to size to its contents like <div contenteditable> #6807

@randfur

Description

@randfur

There doesn't seem to be a non-JS way of accepting plantext in an element that resizes to fit the text (like <div> does).
https://css-tricks.com/auto-growing-inputs-textareas/

Could a layout mode be added to textarea to make it behave like <div>?

Metadata

Metadata

Assignees

No one assigned

    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