Closed denke8 closed 4 years ago
thank you @denesstreambright for the report, I'll try to fix it quickly.
@denesstreambright I just released v1.1.4 with the fix https://www.npmjs.com/package/react-recaptcha-x/v/1.1.4
please let me know if the issue persists. Thanks again and if you like this package, consider starring it, to support it and help others find it.
Thanks for the quick fix, it works now!
Describe the bug If you use the widget like the example show, it works correctly, but if you want to use it in a more complex app, which uses somekind of router, put the provider around the router and later navigate to a route which renders the recaptcha, is not rendered.
To Reproduce -Run create react app -replace the content of app.js with the following:
Expected behavior the recaptcha whould render
Actual If you set delay to ~50 it works, if tou set it to ~500 it does not. I guess it depends on when the google recaptcha script (added by this lib) loads
Desktop