-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Focus Fixes for v8 Theme #106634
[Lens] Focus Fixes for v8 Theme #106634
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
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 was looking into this and it seems that's the expected behavior as per the notes here. In Safari, the outline of the ghost element while being dragged is blue because we're applying
However, we usually only apply |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Hi @andreadelrio thanks for detailed explanation. I tried to find a way to avoid the blue focus for Safari, but was not able to do so without overcomplicating the code. Overall, I think it's a minor detail so I am ok with leaving it like this. |
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
I'll merge this PR to avoid potential future conflicts. We can follow up if anything surfaces. |
* set correct focus ring for each theme * fix field and dimension button span faux focus * fix dimension button focus * add mixin to remove euiFocusRing * clean up the mess Co-authored-by: Kibana Machine <[email protected]>
* set correct focus ring for each theme * fix field and dimension button span faux focus * fix dimension button focus * add mixin to remove euiFocusRing * clean up the mess Co-authored-by: Kibana Machine <[email protected]>
* set correct focus ring for each theme * fix field and dimension button span faux focus * fix dimension button focus * add mixin to remove euiFocusRing * clean up the mess Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Michael Marcialis <[email protected]>
* set correct focus ring for each theme * fix field and dimension button span faux focus * fix dimension button focus * add mixin to remove euiFocusRing * clean up the mess Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Michael Marcialis <[email protected]>
* set correct focus ring for each theme * fix field and dimension button span faux focus * fix dimension button focus * add mixin to remove euiFocusRing * clean up the mess Co-authored-by: Kibana Machine <[email protected]>
Summary
This PR fixes broken focus states for field item and dimension item components when using the latest v8 (Amsterdam) theme. Closes #97421.
CCing @andreadelrio and @ryankeairns.
Before Screenshots
After Screenshots
Checklist
Delete any items that are not applicable to this PR.