Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hCaptcha inside <dialog> opened with showModal #96

Open
iftimiedaniel opened this issue Sep 17, 2024 · 0 comments
Open

hCaptcha inside <dialog> opened with showModal #96

iftimiedaniel opened this issue Sep 17, 2024 · 0 comments

Comments

@iftimiedaniel
Copy link

Having hCaptcha inside a <dialog> element and opened with showModal will cause render issues for the hCaptcha challenge, because of DOM top-layer making the challenge unreachable.

https://jsfiddle.net/yxj6onrw/

I can rely on challengeContainer though, and add the challenge container element inside the <dialog> but is this the right way to do it? It will display odd...

https://jsfiddle.net/q7L8fzjg/

I appreciate your feedback.
Thank you.

@iftimiedaniel iftimiedaniel changed the title hCaptcha inside <dialog> element which opens with showModal hCaptcha inside <dialog> opened with showModal Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant