Closed fdc-viktor-luft closed 3 weeks ago
On which browser does this occur?
This is basically necessary, because Google does not offer any functionality to hide the badge through the reCAPTCHA API. The autoHideBadge
option is just a convenience functionality provided by this library, which adds the styles to hide the badge automatically.
@WipeAir I see. This is then the root cause of the problem 🤔
Including the following CSS rule into our shipped CSS avoids these CSP issues. Maybe you can add a hint for the "autoHideBadge" to your README.
.grecaptcha-badge { visibility: hidden; }
Thank you. You can continue with the state of this issue as you like 👋
Even if the options are
{ autoHideBadge: true }
when calling the exportedload
method, the following error occurs int he Dev Console: (newlines inserted for sake of readability)Why are these inline styles required in first place when I'd expect no UI changes with the above option?