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

Keyboard disabled after verifying captcha #165

Open Mysame opened 7 years ago

Mysame commented 7 years ago

Using Internet Explorer 11.0.36 I have a single-page AngularJS application. Whenever I open the vcRecaptcha, and verify it, I have a 50% chance keyboard input gets disabled to all other elements. I have not found a way to properly duplicate this issue, and was wondering if anyone has experienced the same behavior. I have not had this happen on other sites using ReCaptcha (albeit different implementations, thus not vcRecaptcha).

gfragioud commented 7 years ago

When iframe of captcha is destroyed, IE loses the focus at all. That's why you can't type to the main page. So, focus must return to the main page before the iframe is destroyed.

More info here...