www.learner.org - blue menu at top stays extended covering text underneath
URL: http://www.learner.org/resources/series83.html Browser / Version: Firefox Mobile 38.0 Operating System: Android Problem type: Don't know but something's wrong. Site owner: No
Steps to Reproduce
- Navigate to: http://www.learner.org/resources/series83.html
- … Cannot see text beneath top menu Expected Behavior: Actual Behavior: Site behave s OK on chrome
also on desktop 38.0a1 (2015-01-28) its OK - so far it fails only on android 5.0.2 with above mentioned firefox mobile 38.0
@scottstenland thanks. Do you know if you have the issue with a production release of Firefox such as 35.
What I'm seeing. It seems to be a Desktop web site with a responsive design for the menu. On the other hand the content is in many pages not fitting the viewport. It's larger.
For the menu itself in Firefox 35 I could not reproduce. Maybe I'm not doing the right thing.
http://www.learner.org/resources/series83.html
That link is also bad on ff version 35 on android 5.0.2
Its OK on opera 27
Can reproduce the issue on Android 4.1.1, Firefox 36.0.
ok I could finally reproduce.
It's probably related to header2.js
var adjustMenu = function() {
if (ww < 479) {
$(".learnerHDR_toggleMenu").css("display", "inline-block");
if (!$(".learnerHDR_toggleMenu").hasClass("active")) {
$(".learnerHDR_nav3").hide();
} else {
$(".learnerHDR_nav3").show();
}
$(".learnerHDR_nav3 li").unbind('mouseenter mouseleave');
$(".learnerHDR_nav3 li a.parent").unbind('click').bind('click', function(e) {
// must be attached to anchor element to prevent bubbling
e.preventDefault();
$(this).parent("li").toggleClass("hover");
});
}
else if (ww >= 479) {
$(".learnerHDR_toggleMenu").css("display", "none");
$(".learnerHDR_nav3").show();
$(".learnerHDR_nav3 li").removeClass("hover");
$(".learnerHDR_nav3 li a").unbind('click');
$(".learnerHDR_nav3 li").unbind('mouseenter mouseleave').bind('mouseenter mouseleave', function() {
// must be attached to li so that mouseleave is not triggered when hover over submenu
$(this).toggleClass('hover');
});
}
}
hmm…
if I type ww in the console I get 980
but if enter $(window).width() || document.documentElement.clientWidth || document.body.clientWidth; I get 320.
but can't find yet the exact source of the issue. @miketaylr ?
Works fine now - Firefox 41 on Android and Firefox OS. Menu opens and closes, all text is rendered like in Chrome on android.