-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix(select): Fix outlined select not changing color without label #3433
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3433 +/- ##
========================================
Coverage ? 98.4%
========================================
Files ? 119
Lines ? 5028
Branches ? 618
========================================
Hits ? 4948
Misses ? 80
Partials ? 0
Continue to review full report at Codecov.
|
🤖 Beep boop! Screenshot test report 🚦4 screenshots changed from Details4 Added: |
🤖 Beep boop! Screenshot test report 🚦4 screenshots changed from Details4 Added: |
// THE SOFTWARE. | ||
// | ||
|
||
@import "../../../../packages/mdc-theme/color-palette"; |
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.
Unused?
@@ -1,3 +1,19 @@ | |||
// |
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.
Why did this get added?? This is the old license.
@@ -99,7 +99,12 @@ class MDCNotchedOutlineFoundation extends MDCFoundation { | |||
const height = this.adapter_.getHeight(); | |||
const cornerWidth = radius + 1.2; | |||
const leadingStrokeLength = Math.abs(12 - cornerWidth); | |||
const paddedNotchWidth = notchWidth + 8; | |||
|
|||
// If the notchWidth is 0, the label doesn't need padding. |
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.
This comment sounds a bit weird... if the notchWidth is 0, there's no label, right?
🤖 Beep boop! Screenshot test report 🚦4 screenshots changed from Details4 Added: |
…terial-components#3433) (cherry picked from commit a1c0930)
fixes: #3230