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

Cannot get window in Frame #93

Open
HanKizz opened this issue Sep 22, 2022 · 1 comment
Open

Cannot get window in Frame #93

HanKizz opened this issue Sep 22, 2022 · 1 comment

Comments

@HanKizz
Copy link

HanKizz commented Sep 22, 2022

Hi
I cannot get window.grecaptcha in frame. But in console i can do it!

Please check and if you have any solution, please help me!

@satendra02
Copy link
Owner

satendra02 commented Sep 22, 2022

Hi @terminalAZ

You can see I am passing document and window as props to the App component in the content.js file, so Inside App, you must use props.window instead window to access iframe DOM.

this.props.window.grecaptcha

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

2 participants