react-google-recaptcha-v3
react-google-recaptcha-v3 copied to clipboard
[BUG] The commit "Fix issue with script reload on provider rerender with `scriptProps` present" introduces a regression on my product
Hi there :)
This commit from version 1.9.8 introduces a regression on my website's checkout page, when the user uses recaptcha twice in a row (first to signup, and then again immediately to purchase a booking).
What happens is there is a js error that blocks the user from doing proceeding with the purchase. I'm on nextjs 12.2.2. You can find details on the error below:
TypeError Array.<anonymous>(recaptcha/releases/PRMRaAwB3KlylGQR57Dyk-pF/recaptcha__fr)
Cannot read properties of undefined (reading 'auto_render_clients')
How can we solve this issue? Is it possible to revert this commit?
Thanks for the help!
(@nmalyarsky)
We experienced the exact same problem with 1.10.0. Reverting to 1.9.7 worked for us.
We've got the same issue with 1.10.0.