fix: keep arrow below popover content#8207
Closed
nickofthyme wants to merge 1 commit intoelastic:mainfrom
Closed
Conversation
|
Preview staging links for this PR:
|
Collaborator
💔 Build Failed
Failed CI Steps |
Contributor
|
Once the current high contrast mode PR merges, we'll be using |
Contributor
Author
Contributor
|
They are not in Kibana main and it will be a while before it reaches Kibana main - is the fix urgent? If so, I'd ping @mgadewoll to make this temporary fix in the Borealis feature branch. |
Contributor
Author
No that should be fine. Do you know if it will be in |
Contributor
|
Yes, it should be in by then 🤞 If high contrast work isn't in Borealis, at the very minimum Lene can copy the arrow CSS (sans high contrast logic) from it. |
4 tasks
Contributor
|
ℹ️ I added this PR to introduce the popover arrow changes to Borealis. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds a
z-indexof-1to popover arrow to prevent stacking on top of popover content.This issue was noticed in the Lens color mapping UI where we set
panelPaddingSize="none", see code here. We are not applying any special styles that I can tell but the arrow shows on top of the content, you can see this better when a background color is applied, see below...I was not able to reproduce this in eui docs but another improvement with this change that I did see is the focus state of the popover.
Notice how the arrow slightly occludes the border.
Maybe there is a better solution or issues with this one, open to alternatives.
QA
Remove or strikethrough items that do not apply to your PR.
General checklist