Hugo Dozois
Hugo Dozois
awesome :) thanks a lot for your time!
@hafezoa seems like the last comment in the thread answers the question. If you've tried what azinod is suggesting and it doesn't work please provide information about it.
Can you check what property is hiding the bar? This component doesn't include any css at all, it's all from the actual underlying google-recaptcha.
@sajjadheydari1401 is that possible with ReCAPTCHA without react? I don't see any such render parameters in the documentation https://developers.google.com/recaptcha/docs/display If you see a way happy to merge a PR for...
Can you tell me which version of react-async-script is installed in your node_modules?
Can you show me how you use the component? https://codesandbox.io/s/q3zy20jp96 or create a reproducible example here. This is currently using 1.0.4 and doesn't get the error.
So seems like classCallCheck, is a babel util. So it might be related to the babel transpilation. Are you using any optimization transforms? @ahnkee
https://unpkg.com/[email protected]/lib/async-script-loader.js ``` function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } // .... var AsyncScriptLoader = function (_Component) {...
So, it's not documented directly on the ReCAPTCHA but since the component is wrapped in react-async-script you should be able to pass `asyncScriptOnLoad` for the onload. I can try getting...