rmariuzzo / react-new-window

🔲 Pop new windows in React, using `window.open`.

Home Page:https://rmariuzzo.github.io/react-new-window/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refrence/Context of New window needed

kn-karanjeetanand opened this issue · comments

Let's say I have rendered a new component within <NewWindow> component. However, document object now points to parent window. It doesn't have reference to new window. Now we use window.open() here, which returns the reference/context of the parent window. We want to access the document object of the new window. Is there any way possible to do so using this component?

A little late, but this thread might help you: #34 (comment)