react-google-recaptcha icon indicating copy to clipboard operation
react-google-recaptcha copied to clipboard

Edge 18 - leaving page with ReCAPTCHA generates errors

Open pospichalales opened this issue 6 years ago • 7 comments

When I am leaving the page with reCAPTCHA displayed, the following errors are logged to console. Edge 18.

reacaptcha__cs.js Unable to get property 'create' of undefined or null reference

anchor 'recaptcha' is not defined

SCRIPT5007: SCRIPT5007: Object expected

react-google-recaptcha version: 1.0.5 react-async-script version: 1.0.0

pospichalales avatar Jan 26 '19 10:01 pospichalales

That seems like an error in Google's script

dozoisch avatar Jan 26 '19 19:01 dozoisch

Probably. I am asking because the last error is logged to bugsnag as it is on my page. I thought that removeOnUnmount could solve it. I set it inside index.html script tag (I do not know if there is better place for setting this) but it did change anything.

pospichalales avatar Jan 26 '19 19:01 pospichalales

Just checking other sites using ReCaptcha if same errors are logged - I do not see them when leaving page

pospichalales avatar Jan 26 '19 19:01 pospichalales

I can confirm that this is issue with this package. I tried to use react-recaptcha-google and it does not generate these errors in Edge 18.

pospichalales avatar Feb 02 '19 14:02 pospichalales

Any update on this ?

andresz1 avatar Feb 28 '19 11:02 andresz1

I'm also experiencing this error.

daviddelusenet avatar Feb 18 '20 13:02 daviddelusenet

I just received this error also. Is there anyone who resolved this issue?

Surdok avatar Apr 14 '20 10:04 Surdok