Skip to content

Textarea: Optimize textarea when autogrow is disabled #43

@svanherk

Description

@svanherk

Originally submitted by @mdgbayly:

Autogrow can be disabled by setting the rows attribute === maxrows.
However, this doesn't prevent the component from setting innerHtml on the mirror with each change.
Enhance component to optimize implementation to avoid any mutations when autogrow is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions