-
Notifications
You must be signed in to change notification settings - Fork 206
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(color-area,color-slider): color-area labeling, RTL support, vertical slider orientation #3313 #3315
Conversation
Tachometer resultsChromecolor-area permalink
color-slider permalink
color-wheel permalink
Firefoxcolor-area permalink
color-slider permalink
color-wheel permalink
|
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 curious about the change in values for some of the tests. If you could explain those to me, I'd really appreciate it!
} | ||
|
||
private handleFocusout(): void { | ||
private handleBlur(): void { |
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 like the name change of these functions!
this.addEventListener('focusin', this.handleFocusin); | ||
this.addEventListener('focusout', this.handleFocusout); | ||
this.addEventListener('focus', this.handleFocus); | ||
this.addEventListener('blur', this.handleBlur); |
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 do worry about the API name change not being consistent with our other components, though. I think this is going in the right direction, but I feel like it would be good for me to confer with the rest of the team.
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 function name for these private methods can remain handleFocusin
/handleFocusout
, but we should listen for the focus
and blur
events in order to set the focused
state properly.
ccc62ab
to
c299401
Compare
…cal slider orientation #3313
c299401
to
5f1c3b5
Compare
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.
LGTM! Just resolve the conflicts and it should be good to go.
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.
That flakey test is on our end, !
Thanks @majornista 🙇🏼
Description
Related issue(s)
Motivation and context
How has this been tested?
Screenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.