-
Notifications
You must be signed in to change notification settings - Fork 6.8k
matTextareaAutosize does not get updated on window resize #8610
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
Comments
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes angular#8610.
I had an additional issue with the matTextareaAutosize directive. I´m now already using this fix for the resizing issue, but the initial size calculation is not working in my case. Even if the initial trigger in the directive gets called in the |
Update: I do not longer need the |
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes #8610.
Fixes the autosize textarea not recalculating its height when the viewport size has changed. Fixes #8610.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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
The text was updated successfully, but these errors were encountered: