Closed ilyagru closed 1 year ago
It's just something that reCaptcha does internaly for some reason 🤷♀️
https://github.com/google/recaptcha/issues/236 https://github.com/google/recaptcha/issues/415 https://github.com/google/recaptcha/issues/331
It adds recaptcha__en.js
script 2 times. Once in the head, and once inside of the grecaptcha-badge
iframe's body.
Nothing we can do on our side, sadly.
Describe the bug A clear and concise description of what the bug is.
When the provider is connected and the page is loaded, the Google Recaptcha script is being loaded twice. That slows down the website performace and is visible in metrics reports. The issue occurs in both Development and Production.
To Reproduce Steps to reproduce the behavior:
Integrate Recaptcha as per the docs (wrapping the app into the provider).
Expected behavior A clear and concise description of what you expected to happen.
The script is loaded once.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.