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 check to isReady for necessary DOM element, for issue 181 #259

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

Conversation

JZebra
Copy link

@JZebra JZebra commented Jul 17, 2019

I was still having this issue: #181 despite using this solution: #181 (comment)

Unfortunately, I can't share the source code where I experienced this bug. It's a private repo. I can show before/after videos though if needed.

The root cause is that the component calls this._renderGrecaptcha() in componentDidMount, before render can run. This change was sufficient to resolve the issue for me

EDIT: I forgot about specs. I'll try to fix them tomorrow

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

Successfully merging this pull request may close these issues.

None yet

1 participant