Skip to content
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): Fix outlined select not changing color without label #3433

Merged
merged 9 commits into from
Aug 30, 2018

Conversation

williamernest
Copy link
Contributor

fixes: #3230

@codecov-io
Copy link

codecov-io commented Aug 28, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@325317c). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #3433   +/-   ##
========================================
  Coverage          ?   98.4%           
========================================
  Files             ?     119           
  Lines             ?    5028           
  Branches          ?     618           
========================================
  Hits              ?    4948           
  Misses            ?      80           
  Partials          ?       0
Impacted Files Coverage Δ
packages/mdc-notched-outline/foundation.js 100% <100%> (ø)
packages/mdc-select/foundation.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 325317c...7d5e366. Read the comment docs.

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

4 screenshots changed from master on commit f770149:

Details

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

4 screenshots changed from master on commit 4e0ec4c:

Details

// THE SOFTWARE.
//

@import "../../../../packages/mdc-theme/color-palette";
Copy link
Contributor

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 @@
//
Copy link
Contributor

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.
Copy link
Contributor

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?

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

4 screenshots changed from master on commit 7d5e366:

Details

@williamernest williamernest merged commit a1c0930 into master Aug 30, 2018
@williamernest williamernest deleted the fix/select/focus-without-label branch August 30, 2018 20:58
adrianschmidt pushed a commit to Lundalogik/material-components-web that referenced this pull request Sep 25, 2018
@jamesmfriedman jamesmfriedman mentioned this pull request Sep 26, 2018
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Select box without label misses hover and focus state
5 participants