xmaestro/angular2-recaptcha

Top of reCaptcha clipped on expiration inside modal

MordB opened this issue · 0 comments

MordB commented

I am using angular2-recaptcha inside a Bootstrap modal. Everything works great, except if the token expires while the modal is closed.
In that case, when reopening the modal the top of the reCaptcha is clipped. (See screenshot).
If the modal is open when the token expires - the reCaptcha appears normally, with the notification that the token expired.
If the modal is closed when the token expires, then when reopening the modal the reCaptcha appears clipped.
From what I can determine, the applied style height does not change when the modal is open or closed.

image