Recaptcha doesn't fully render to DOM
hantc opened this issue ยท 8 comments
When using recaptcha inside JSX, Recaptcha is not fully rendered. Div is blank.
<div class="g-recaptcha" data-sitekey="my-own-tested-and-valid-key" data-theme="light" data-type="image" data-size="normal" data-tabindex="0" data-reactid=".1.0.1.3"></div>
react-recaptcha is imported and rendered as <Recaptcha sitekey="my-own-tested-and-valid-key" />
Are you using the recaptcha script on your index-page?
<script src="https://www.google.com/recaptcha/api.js" async defer></script>I am seeing this problem using React 15.4.1 on mac os in Chrome. Trying to solve for #181 does not work in my case
I ran into the empty div
issue as well. I used scriptjs in componentDidMount
and the script was added to the head
and the reCAPTCHA rendered as expected.
$script('https://www.google.com/recaptcha/api.js', 'recaptcha');
I ran into the empty
div
issue as well. I used scriptjs incomponentDidMount
and the script was added to thehead
and the reCAPTCHA rendered as expected.$script('https://www.google.com/recaptcha/api.js', 'recaptcha');
any example how to do so?
Any updates on this issue?
Any updates on this issue?
there is a nope from the community..