-
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(select): Override floating label properties in select box #2574
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2574 +/- ##
=======================================
Coverage 98.66% 98.66%
=======================================
Files 98 98
Lines 4202 4202
Branches 534 534
=======================================
Hits 4146 4146
Misses 56 56 Continue to review full report at Codecov.
|
…mponents/material-components-web into fix/select/label-adjustments
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.
Made a change to pointer-events
rule, but everything else looks good to me.
.mdc-select__native-control { | ||
@include mdc-typography(subtitle1); |
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.
I'm guessing this was removed from label to fix line-height, but do we not want other properties of this style?
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.
The .mdc-select__label
was accidentally left in from the refactor to use mdc-floating-label
. mdc-floating-label
is already setting the required typography for the label in the mdc-floating-label
package.
Fixes an issue with typography and label behavior using the new styles and new floating label.