Open jasan-s opened 6 years ago
Had the same issue, moved to react-google-recaptcha which has very similar api. Problem solved.
Try removing the explicit render argument or changing it to the default onload. i.e.
From Google's Recaptcha docs.
render | explicit onload | Optional. Whether to render the widget explicitly. Defaults to onload, which will render the widget in the first g-recaptcha tag it finds. |
---|
Same issue for me when using invisible recaptcha v2, switching to the checkbox works after using recaptchaInstance.reset();
recaptcha works as expected on the first load of a component, however, If I reload the page and then try
this.recaptchaInstance.execute()
nothing happens