VividCortex / angular-recaptcha

AngularJS directive to add a reCaptcha widget to your form
http://vividcortex.github.io/angular-recaptcha/
MIT License
496 stars 257 forks source link

Uncaught TypeError: Cannot read property 'lastElementChild' of null #90

Closed tobiasbrenner closed 8 years ago

tobiasbrenner commented 9 years ago

After a correct vcRecaptchaService.reload fn call with an existing widgetId this error: "Uncaught TypeError: Cannot read property 'lastElementChild' of null" will appear after every scroll event. error

nblumhardt commented 9 years ago

We too are experiencing this and are digging in deeper - any clues you've uncovered would be appreciated :-)

A-P commented 9 years ago

It looks like this is a bug in Google's JS (missing a null check). I was seeing the same thing in recaptcha__en.js and tried debugging with only the recaptcha js and vanilla js code to .render and .reset - no Angular at all. The same error occurs.

haduythuan commented 9 years ago

Don't worry about this issue. Recaptcha Support Guy from Google promised this will be resolved in their next release.

https://groups.google.com/forum/#!msg/recaptcha/lmMdUo3JR-0/p112nO-lAQAJ

nblumhardt commented 9 years ago

Thanks @haduythuan !

TheSharpieOne commented 8 years ago

Any update on this? Is this still an issue?

mtrias commented 8 years ago

I'm closing this as it seems nothing needs to be done. Please tell me if i'm wrong.