Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdkTextareaAutosize should remove cdk-textarea-autosize on disabled #18254

Open
aitboudad opened this issue Jan 22, 2020 · 2 comments
Open

cdkTextareaAutosize should remove cdk-textarea-autosize on disabled #18254

aitboudad opened this issue Jan 22, 2020 · 2 comments
Labels
area: material/input P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@aitboudad
Copy link
Contributor

Reproduction

https://stackblitz.com/edit/angular-5x8mff

Steps to reproduce:

  1. set cdkTextareaAutosize to false

Expected Behavior

When passing a false value to cdkTextareaAutosize I would expect to be rendered as a simple textarea.

  • rows should be unset
  • cdk-textarea-autosize should be removed

Actual Behavior

  • rows set 1
  • cdk-textarea-autosize is set.

Environment

  • Angular: 8.2.14
  • CDK/Material: 8.2.3
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS
@crisbeto crisbeto self-assigned this Jan 22, 2020
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release has pr and removed target: patch This PR is targeted for the next patch release labels Jan 22, 2020
@tkutcher
Copy link

I see this is a bit old but I am having same issue in latest angular (13)

@davebaol
Copy link

Same issue with latest Angular 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/input P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

6 participants