dozoisch / dozoisch/react-google-recaptcha
executeAsync can only be called once
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
I use the executeAsync. The first time i call it there is no problem and i receive a token. But the second time the call hangs and i dont get a token nor an error.
i created a codepen that reproduces the behavior:
https://codesandbox.io/s/react-google-recaptcha-210-example-invisible-forked-wkk89?file=/src/index.js:441-453
Not that after the first call "onSubmitAsync" is printed, but the executeAsync never returns.
If i would call reset afterwards it works, but i reckon i get to many puzzles to solve with a reset. Plus the reset is visible in the UI.
react-google-recaptcha version: 2.1.0
react-async-script version: 1.2.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.