-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bug: Page jumps when hcaptcha-image-select-dialogue shows #151
Comments
This comment was marked as spam.
This comment was marked as spam.
@davidfaber do you have an example site or minimal repro of this? |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Hi @e271828-, Yes... I do have an example. If you go to https://oe44.gtsb.io/kontakt/ (PW is At the bottom of the page you'll find a contact-form. Fill out all the fields including the checkbox at the end and hit send. You should then see 2 things:
Thanks in advance, |
Hi @davidfaber, Thank you for providing an example! Also, I suspect it might be the form itself that causes the issue. Please check this: https://stackoverflow.com/questions/30960537/submit-button-in-bootstrap-scrolling-to-top Please let us know the additional details or if the issue gets fixed. Best Regards, |
I think I've run into the same issue as OP. Test: Codepen Steps:
Expected:
Actual:
Behaviour in Chrome is as expected. OP also describes an issue where the modal appears in the centre of the screen rather than next to the widget. I'm seeing the same issue in Firefox and Chrome, but I think it's separate from the first issue. |
Hi @awesomephant! Thank you for notifying us about the issue! We'll look into it and let you know the summary of our investigation. Best Regards, |
I'm using react-hcaptcha with GatsbyJS. Whenever the hcaptcha opens the page jumps to top and the dialogue shows centered on the screen (not next to the button).
I simply can't figure out why.
If you need anything, please let me know.
Thanks in advance,
David
The text was updated successfully, but these errors were encountered: