react-hcaptcha icon indicating copy to clipboard operation
react-hcaptcha copied to clipboard

Issue with react-router-dom and useNavigate()

Open GeekCornerGH opened this issue 2 years ago • 2 comments

Hello everyone. I'd like to report this issue which returns in console the following error: Only one captcha is permitted per parent container. Here is a code example where I can reproduce the issue To reproduce, use the code sample, then click the providen button, then watch the console I'd like use useNavigate() as much as possible, could you help me? Thanks in advance for your answer.

GeekCornerGH avatar Apr 24 '23 08:04 GeekCornerGH

Hi @GeekCornerGH,

Thank you for notifying us about the issue! And thank you a lot for providing the way to reproduce it! It seems to be a non-blocking issue, as the app is fully functional. Please correct me if I am wrong.

If you will find the possible solution, please do not hesitate to create the PR. We appreciate all the contributions! Meanwhile, I will talk to the team about the further actions. We will keep you posted.

Best Regards, IMI Dev Team

zoryana94 avatar Apr 27 '23 19:04 zoryana94

The issue also occurs with a standard NextJS setup using the built-in navigation.

angelsvirkov avatar Jun 04 '23 14:06 angelsvirkov