Skip to content

[Flyout System] Render EuiOverlayMask for EuiFlyout only when necessary #8989

Closed

Description

@tkajtoch

Summary

The Flyout System project involves rendering multiple flyouts at once. Our current implementation makes it hard to manage, especially if rendered flyouts are displayed at the same time (e.g. as main and child managed flyouts). We want to adjust the usage of EuiOverlayMask so that it's rendered only once and displayed below all visible flyouts.

Acceptance criteria

  • EuiFlyout and its helper components should be adjusted to render EuiOverlayMask only once no matter how many flyouts are currently open

Activity

  1. self-assigned this
    on Sep 2, 2025
  2. added theissue type on Sep 2, 2025
  3. assigned and unassigned on Sep 16, 2025
  4. tsullivan commented on Sep 23, 2025

    @tsullivan
    Member

    PR in flight: #8989

    #9077

  5. acstll commented on Sep 26, 2025

    @acstll
    Contributor

    💭 I dedicated roughly an hour to this and I found it's not so straightforward as enabling it back in the same place it used to be but based on some conditions. I think the overlay would need to be portalled as well but separately…

    - body
     |
      - overlay (in the back)
     |
      - flyout (main)
     |
      - flyout (child)
    
  6. acstll commented on Sep 29, 2025

    @acstll
    Contributor

    I confirmed with @tkajtoch we want something along the lines of the "diagram" above 👆 — he's taking over to try something out.

  7. assigned and unassigned on Sep 29, 2025
  8. tsullivan commented on Oct 15, 2025

    @tsullivan
    Member

    Resolved via #9077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions