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.elitemodellook.com - site is not usable #18316
Comments
This is probably a good starter. html, body {
height: 100%;
overflow: hidden;
}
.navigation {
left: 0;
width: 100%;
overflow: hidden;
}
.content-mask {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #fff;
z-index: 1;
overflow: hidden;
}
.scroller, .mousehover .hidden-scroller, .no-mousehover .open .hidden-scroller {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: auto;
}
.no-mousehover .scroll-container, .no-mousehover .open .hidden-scroller .scroll-container {
height: 100%;
overflow-y: auto;
}
.no-mousehover .scroller, .no-mousehover .open .hidden-scroller {
-webkit-overflow-scrolling: touch;
} But that's not it. The issue is that the full content is inserted inside an iframe. <iframe id="facebookcastingiframe"
src="//www.elitemodellook.com/casting2018/home.web?lang=in&container=site&back=http://www.elitemodellook.com/in/en/home/index.htm"
style="left:10%;width:80%;"
frameborder="0"></iframe> The iframe adjusts its size to its content. Adding something like |
@theres-waldo @dholbert will know better than me. |
I can reproduce on my Android phone, though as @karlcow observed, this is not reproducible in responsive design mode on desktop. Responding to / correcting something that Karl observed:
Actually, the iframe is sized the same in Responsive Design Mode as it is on Android. It's just that scrolling seems to be working differently in the two cases. The iframe is indeed super-tall (it has an explicit height: 3280px` from this rule: @media only screen and (max-width: 414px) {
#facebookcastingiframe{
height: 3280px;
}
} ...and it's expecting that you'll be able to scroll its content via one of its scrollable ancestors -- e.g. the one with position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: auto; This should make |
Here's a reduced testcase, with a skinnier iframe to make the "trapping" more obvious: https://jsfiddle.net/g0Ljc9f4/ Here's a version you can load on your phone (without most of the jsfiddle ui): STR, from that testcase: In Firefox on Android, I'm unable to scroll the outer scrolling context in step 3 -- after I've tapped inside the iframe, that's the only piece that Firefox will let me scroll. @theres-waldo does this ring a bell at all? |
Thanks a lot @dholbert . I'll open a Core bug on Mozilla bugzilla and cc @theres-waldo |
Closing as a duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1486695 |
URL: https://www.elitemodellook.com/in/en/participate/index.htm
Browser / Version: Firefox Mobile 63.0
Operating System: Android 6.0.1
Tested Another Browser: Yes
Problem type: Site is not usable
Description: scrolling was not working
Steps to Reproduce:
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: