You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiFlyout] [EuiButtonGroup] Z-Index conflict when a Flyout occludes Toggle Buttons #4122
This most likely means that the EuiFlyout is actually placed in the DOM nested somewhere inside a component that is before the button group. I'd recommend either using the Kibana Overlay Service, EuiFlyout's ownFocus prop, or wrapping the EuiFlyout in a EuiPortal to ensure it gets rendered at the end of the DOM structure.
Activity
thompsongl commentedon Oct 7, 2020
Hey @Zacqary
I'm unable to reproduce this with a simple case: https://codesandbox.io/s/clever-shaw-bct1t
Just looking at the code, EuiFlyout has a
z-indexof3000by default, so there should be no problem withz-index: 2overlap.Can you provide more info on the layout composition?
cchaos commentedon Oct 7, 2020
This most likely means that the EuiFlyout is actually placed in the DOM nested somewhere inside a component that is before the button group. I'd recommend either using the Kibana Overlay Service, EuiFlyout's
ownFocusprop, or wrapping the EuiFlyout in a EuiPortal to ensure it gets rendered at the end of the DOM structure.Zacqary commentedon Oct 8, 2020
Thanks @cchaos, looks like our flyout wasn't in a portal.
EuiPortalhelped.