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

[EuiColorStops] Fixed outline flashing when clicking or adding a stop #4900

Merged

Conversation

elizabetdev
Copy link
Contributor

@elizabetdev elizabetdev commented Jun 18, 2021

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.

ColorStops - focus@2x

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

  • Check against all themes for compatibility in both light and dark modes
  • [ ] Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • [ ] 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
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/

@elizabetdev elizabetdev marked this pull request as ready for review June 24, 2021 09:47
@elizabetdev elizabetdev requested a review from cchaos June 24, 2021 09:47
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/

Copy link
Contributor

@cchaos cchaos left a 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.

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4900/

@elizabetdev elizabetdev merged commit 5a9ee8f into elastic:master Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants