t49tran / react-google-recaptcha-v3

Google Recaptcha V3 integration for React
MIT License
434 stars 91 forks source link

div get appended to HTML body on error #127

Open dyihoon90 opened 2 years ago

dyihoon90 commented 2 years ago

When the network is unstable, we may sometimes get the following div appended to the end of our HTML body:

<div>"could not connect to the reCAPTCHA service. Please check your internet connection and reload to get a reCAPTCHA challenge."</div>

When this happens, the text floats in the middle of our page and affects the user's experience.

Does anyone knows how we can fix this issue?

evangow commented 2 years ago

@dyihoon90 did you ever find a fix to prevent this div being appended?