-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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(text-field): Changes to text area label positioning to cover text content #2816
fix(text-field): Changes to text area label positioning to cover text content #2816
Conversation
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
Codecov Report
@@ Coverage Diff @@
## master #2816 +/- ##
=======================================
Coverage 98.42% 98.42%
=======================================
Files 98 98
Lines 4203 4203
Branches 534 534
=======================================
Hits 4137 4137
Misses 66 66 Continue to review full report at Codecov.
|
e0b857e
to
8de0d23
Compare
CLAs look good, thanks! |
Discussed with Abhinay; we're going to pull the RTL changes (plus the dependent change in Top App Bar) into its own |
… content. Other changes: - RTL position fix for text area label. - User can now scroll the text area content when hovering on label.
8de0d23
to
4458c28
Compare
…textarea_label_fullwidth_issue2392
Created a separate PR #2823 for making rtl sass mixin public. |
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.
Tested across browsers on Windows / Mac / Linux and Chrome on Android. The most I could find is that the system text scaling level on Windows / Linux can affect rendering such that the label background may overlap by at most one pixel, but for the most part this works and it properly covers the underlying text value everywhere.
packages/mdc-textfield/_mixins.scss
Outdated
|
||
@include mdc-rtl-reflexive(left, 1px, right, 0); | ||
@include mdc-rtl-reflexive-property(margin, 8px, 0); | ||
|
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.
Lint is failing due to the indentation on this empty line
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.
Done.
…rea_label_fullwidth_issue2392
Fixes #2392
Other changes: