Skip to content

[MdTextarea] Autogrow broken on md-textarea #1833

@jpoles1

Description

@jpoles1

Steps to reproduce

md-textarea will fail to resize if the model is changed after render time. Will resize properly the moment the user edits the textarea contents.

Which browser?

I am experiencing this issue on Chrome with:
"vue": "latest",
"vue-material": "1.0.0-beta-10.2"

What is expected?

Textarea should resize when model variable is changed from javascript.

What is actually happening?

I am experiencing a similar issue to that described in #160 and #336, wherein changes to the model of a md-textarea with md-autogrow enabled does not cause the field to autogrow. This happens only seems to happen when the model is changed after render.

Reproduction Link

Should be reproducible here: https://codesandbox.io/s/o5ln4vz4kq

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions