Position EuiProgress over EuiHeader#1471
Conversation
31b72a2 to
be36755
Compare
be36755 to
2ea28a3
Compare
|
I opted to add to the existing In other words, those two examples aren't aware of one another and just ran over each other atop the page. Having them in the same example file made it much simpler to toggle one off when the other comes on. |
|
One other note, I attempted to push down the content when the header example is shown, but my simple solution (using javascript to set |
|
cc @sqren so he's aware. Will be in Kibana shortly. |
|
Yay! Thanks for the quick reaction! |
Summary
In cases where
EuiProgressis nested within a parent whosez-indexvalue is lower thanEuiHeader(e.g. from a Kibana plugin), the header will overlay the progress bar preventing it from being seen.To overcome this situation, a user will need to use an
EuiPortalwhile theEuiProgressneeds az-indexgreater than the default forEuiHeader. This PR adds az-indextoEuiProgressand provides an example use case in the docs.Checklist
Any props added have proper autodocsJest tests were updated or added to match the most common scenariosThis was checked against keyboard-only and screenreader scenariosThis required updates to Framer X components