-
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
fix(cdk/text-field): autosize text areas using the placeholder #22197
Conversation
Had to also adjust the input tests |
Fixes a bug with CdkTextareaAutosize where the textarea would not be autosized when using long placeholders Fixes #22042 Cache the height with the placeholder do calculation better fix comment Stop caching the placeholder because I can't make the caching approach work with view-engine go back to the caching approach Account for the input tests fix lint error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sadly this break g3 because the value is changed on the textarea. I think I will have to abandon this completely as I will be unavailable to look at this for a week and we have other high priority things to deal with right now |
angular#22197)" This reverts commit 476a90b.
Roll-forward w/ fix for angular#22197 This reverts commit 4316787.
Roll-forward w/ fix for angular#22197 This reverts commit 4316787.
* fix(cdk/text-field): autosize text areas using the placeholder Roll-forward w/ fix for #22197 This reverts commit 4316787. * fixup! fix(cdk/text-field): autosize text areas using the placeholder * fixup! fix(cdk/text-field): autosize text areas using the placeholder * fixup! fix(cdk/text-field): autosize text areas using the placeholder * fixup! fix(cdk/text-field): autosize text areas using the placeholder
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. |
Fixes a bug with CdkTextareaAutosize where the textarea would not be autosized when using long placeholders
Fixes #22042