Skip to content

ModalOverlay: Keep content mounted when closed #9670

@thorbde

Description

@thorbde

Provide a general summary of the feature here

Would it be possible to somehow keep content mounted when the modal is closed? We're working on a modal sheet with an iframe, and we would like to preload the iframe while the modal is closed.

🤔 Expected Behavior?

Prop that allows the ModalOverlay to stay mounted while closed

😯 Current Behavior

Content is unmounted when the modal closes.

💁 Possible Solution

No response

🔦 Context

Iframe in a sheet like modal

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions