Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Why does resizing textareas in angular material, require anything other than `cdkTextareaAutosize` directive? #15813
What is the expected behavior?
What is the current behavior?
They mention a whole lot of stuff, removing which still lets things function! So its not clear why its been put there and its misleading without an explanation.
Extra stuff in the HTML template:
Extra stuff in the component:
That's 4 extra imports, a
What are the steps to reproduce?
This stackblitz shows that nothing other than
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular v7, Material v7 are the versions I used.
Is there anything else we should know?
Keep up the good work
Perfect so how about after
Passing true will force the<textarea> to resize even if its text content has not changed, this can be useful if the styles affecting the <textarea> have changed.
Adding the following sentence too:
for example here the `mat-select` changes the font size.