You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ReactModal component has a parentSelector that is meant to return an HTML node to attach to.
However I want to be able to create modal boxes that are related to a parent component or higher order component.
Is there a way to attach the modal box to a particular react component and somehow forward references from the parent component to the react modal component?