-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiColorStops] Fixed outline flashing when clicking or adding a stop #4900
[EuiColorStops] Fixed outline flashing when clicking or adding a stop #4900
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/ |
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 clicked around a whole bunch in Safari and didn't really get the flash anymore. Pretty elegant solution.
Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/ |
Summary
This PR almost fixes the EuiColorStops outline flashing in Safari when clicking or adding a stop.
Design improvement
The focus state is now more consistent with the stop focus state.
Behavior in Safari
It seems that the issue is fixed but if we press the mouse until we're dragging the outline appears. This behavior doesn't happen in other browsers.
Screen+Recording+2021-06-24+at+10.45+AM.mov
Checklist
[ ] Checked in mobile[ ] Props have proper autodocs and playground toggles[ ] Added documentation[ ] Checked Code Sandbox works for the any docs examples[ ] Added or updated jest tests[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes