-
Notifications
You must be signed in to change notification settings - Fork 13.5k
fix(select): update icon color and use correct focused class #30342
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
.select-icon { | ||
width: $select-md-icon-size; | ||
|
||
transition: transform .15s cubic-bezier(.4, 0, .2, 1); | ||
|
||
color: #{$text-color-step-500}; | ||
} | ||
|
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 just moved this down to the select icon section.
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.
A couple comments regarding the valid/invalid behavior since we removed the focus color from the icon.
...test/highlight/select.e2e.ts-snapshots/select-no-fill-invalid-md-ltr-Mobile-Chrome-linux.png
Outdated
Show resolved
Hide resolved
...t/test/highlight/select.e2e.ts-snapshots/select-no-fill-valid-md-ltr-Mobile-Chrome-linux.png
Outdated
Show resolved
Hide resolved
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.
Looks good! Just added some minor corrections for some comments.
Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
Co-authored-by: Brandy Smith <brandyscarney@users.noreply.github.com>
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.
Looks good to me, great job!
Issue number: internal
What is the current behavior?
There are a few items to note:
.has-focus
which isn't being used anywhere withinselect.tsx
. It seems that.has-focus
comes a copy and paste that wasn't updated.md
mode.md
mode.What is the new behavior?
.has-focus
, removingion-focused
.md
mode.md
mode.Does this introduce a breaking change?
Other information
Dev build:
8.5.4-dev.11744743162.1ec9251d
Select cannot have a focused class and an expanded class at the same time. It's one or the other.