web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.learner.org - blue menu at top stays extended covering text underneath

Open scottstensland opened this issue 11 years ago • 6 comments

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

  1. Navigate to: http://www.learner.org/resources/series83.html
  2. … Cannot see text beneath top menu Expected Behavior: Actual Behavior: Site behave s OK on chrome

scottstensland avatar Feb 02 '15 11:02 scottstensland

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

scottstensland avatar Feb 02 '15 17:02 scottstensland

@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.

karlcow avatar Feb 03 '15 00:02 karlcow

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

scottstensland avatar Feb 03 '15 08:02 scottstensland

Can reproduce the issue on Android 4.1.1, Firefox 36.0.

jovanamozilla avatar Mar 01 '15 21:03 jovanamozilla

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 ?

karlcow avatar Mar 02 '15 07:03 karlcow

Works fine now - Firefox 41 on Android and Firefox OS. Menu opens and closes, all text is rendered like in Chrome on android.

hallvors avatar Aug 20 '15 08:08 hallvors