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.
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
[kbn-grid-layout] EUI Visual Refresh Integration #204445
base: main
Are you sure you want to change the base?
[kbn-grid-layout] EUI Visual Refresh Integration #204445
Changes from all commits
3382715
76d307b
b1fbd32
fcda98a
2738f96
b945fc3
e08ee61
df59aa2
8271477
cf55789
11393e4
babaaf3
0f36ce8
e50e7da
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
@Heenawter Can you confirm if it's okay to remove this z-index from the drag handle? From what I could tell testing locally, the z-index isn't doing anything here.
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.
This is the native drag handle that is used if the panel renderer isn't providing one. To see it, remove
setDragHandles
from theReactEmbeddableRenderer
inexamples/grid_example/public/app.tsx
(I also removed the drag handle component insrc/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx
in order to make it easier to test).By removing this
z-index
, the native drag handle sometimes floats below panel contents:So I think we should maintain a high z-index for this, even if it's not currently used by embeddables :) I switch out the embeddable renderer a lot in my testing and rely on the
kbn-grid-layout
drag handle, so it would be a pain to have to add this back every time.