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

Uncaught Error: Unable to find global parent component window #438

Open
Oleksandr200 opened this issue Jun 1, 2023 · 0 comments
Open

Uncaught Error: Unable to find global parent component window #438

Oleksandr200 opened this issue Jun 1, 2023 · 0 comments

Comments

@Oleksandr200
Copy link

Oleksandr200 commented Jun 1, 2023

We faced out the issue when we have the zoid iframe and the zoid child component on the same domain. The rendering library is react on both sides.

The parent zoid component lays on https://domain/parent-path/index.hml
The child zoid component url is https://domain/child-path/index.html

As I see Zoid set type of parent window as GLOBAL

if (initialChildDomain === getDomain(window)) {

and then it cannot find this global window.

What does it mean GLOBAL type of window?
What conditions should be observed that zoid could work in one domain?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant