Skip to content

matTextareaAutosize does not get updated on window resize #8610

@qstiegler

Description

@qstiegler

Bug, feature request, or proposal:

matTextareaAutosize does not update the length when window dimensions are changing. The textarea then is either not displaying the whole content or is higher then the required lines for the content.

What is the expected behavior?

It should resize when changing the dimensions of the window.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 5.0.0
Material 5.0.0-rc.1
TypeScript 2.4.2
Chrome 62

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions