Skip to content

Conversation

@cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Oct 4, 2022

Summary

I noticed while working on #6289 that the 2nd example was rendering two EuiOverlayMasks 🙃 https://eui.elastic.co/v69.0.0/#/utilities/overlay-mask#masks-with-header

This appears to be because we modified EuiFlyout at some point to default to showing a mask and also setting that mask to below.

Checklist

N/A, docs only

- EuiFlyout now uses ownFocus / EuiOverlayMask by default so the current example is loading TWO overlay masks :|

- update example to use a generic mask with `below` set and also show an EuiFlyout example as normal
- remove unnecessary explicit fragments and fn wrappers
@cee-chen cee-chen added the skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) label Oct 4, 2022
@cee-chen cee-chen marked this pull request as ready for review October 4, 2022 21:42
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_6290/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@cee-chen cee-chen merged commit adfd54b into elastic:main Oct 4, 2022
@cee-chen cee-chen deleted the overlay_examples_fix branch October 4, 2022 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants