-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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: emit event when the textarea height changes #10472
Comments
fixes angular#10472 emit an event when height of the area changes
This isn't a high priority for the team, but I'll accept a PR if someone wants to work on it |
Hello, I can try my hand at this PR if it is still available to be worked on. This would be my first contribution so I might be missing a few pointers here and there. Would this apply only to height changes or dimension changes of any kind? Edited: Nevermind, I see that the directive applies only to height value changes |
…tive Add a resize event called cdkResize onto the cdkTextareaAutosize to allow event listeners on the textarea component that have the cdkTextareaAutosize to listen out for height changes to said component Fixes angular#10472
…directive Added unit test to ensure the resize event emitter fires as expected Fixes angular#10472
Added input demo for resize event Fixes angular#10472
It would be more efficient than checking on every
keyup
of the area.The text was updated successfully, but these errors were encountered: