Skip to content

mdTextareaAutosize doesn't resize textarea to a single row when mdAutosizeMinRows is set to 1 #4852

@ruslan-simonenko

Description

@ruslan-simonenko

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Textarea should be resized to a single line.

What is the current behavior?

Resize doesn't shrink textarea to a single line, stops at minimum of two lines.

What are the steps to reproduce?

http://plnkr.co/edit/0HyRxBSQI7wksb7QFLDE?p=preview

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

Angular: 4.1.3
Material: v2.0.0-beta.6
OS: tested on Mac OS X 10.11.6
Browsers: tested on both Chrome 58 and Firefox 54

Metadata

Metadata

Labels

needs: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions