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
www.geeksforgeeks.org - "Login" popup keeps being dismissed #28446
Comments
Thanks for the report @Akhi1 , I was able to reproduce the issue. Note: Not reproducible on Chrome. Tested with: Moving to Needsdiagnosis for further investigation. |
when I first access the site I get this. it takes around 5-10s to appear on both chrome and firefox. Let me close this pop up and then hit the login link. When I do that the same window reopens on both firefox and chrome. Let's hit the email field.
This is probably due to the virtual keyboard creating either a resize event(?) or changing the size of the window. On Chrome. the keyboard comes on top of everything. |
The modal window is managed by https://util.geeksforgeeks.org/js/loginModal-1.0.js?ver=1.8 It reminds me of https://bugzilla.mozilla.org/show_bug.cgi?id=1139747 As soon as we exit this function document.addEventListener('blur', function (i) {
var n = t(i.target);
if (n.is(e)) {
var s = '.prefix';
0 === n[0].value.length && !0 !== n[0].validity.badInput && null === n.attr('placeholder') && (s += ', label'),
n.siblings(s).removeClass('active'),
M.validate_field(n)
}
}, !0); the keyboard appears and disappears. |
Sorry the keyboard appears and the modal window disappears.. |
Oh and there is this too. I wonder if chrome behaves differently when virtual keyboard is activated. |
If I tell Tinker Tester Developer Spy to ignore Given that, the site could likely also work around this issue in Fennec if desired, by using the |
The issue is still reproducible on my side. Tested with: |
URL: https://www.geeksforgeeks.org/loops-in-javascript/
Browser / Version: Firefox Mobile 67.0
Operating System: Android 6.0.1
Tested Another Browser: No
Problem type: Design is broken
Description: Issue with login popup in mobile
Steps to Reproduce:
login popup not staying until I type in my password. It just closed after typing email id. Cannot login. My mobile is a 5.2' screen.
Browser Configuration
Console Messages:
Reported by @Akhi1
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: