Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mountNode prop to Popup module #4362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 29, 2022

  1. Add mountNode prop to Popup module

    If a React app with SUIR is running in a hidden IFRAME and rendering
    some or all of its virtual DOM to the parent frame or another frame,
    then the Popup component should not insert popup elements into the
    document.body of the React IFRAME, but instead should inject into the
    frame containing the Popup trigger, or even into some other container
    as may be more appropriate (due to size or layering concerns between
    multiple frames).
    
    Adding a `mountNode` prop to Popup allows developers to specify the
    appropriate container for a displayed popup element in cases such as
    the above example.
    svicalifornia committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    7832ab6 View commit details
    Browse the repository at this point in the history