https://bugzilla.wikimedia.org/show_bug.cgi?id=23782

           Summary: Problem with a user menu due to hidden overflow in
                    sections
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: Normal
         Component: UsabilityInitiative
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]


The problem is with a dropdown menu, but will affect any absolutely positioned
elements anchored inside the sections element.

This seems to be related to the fact that the element with "sections" class has
hidden overflow or to be more exact it gets overflow:hidden as soon as the
section is opened.

In the gadget I use I've prepared the following fix (I use it just after making
my element visible):
if (typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined')
{
    var nbar = document.getElementById('wikiEditor-ui-toolbar');
    var secs = getElementsByClassName(nbar, "div", "sections")[0];
    secs.style.overflow = 'visible';
}

Still I'm not sure why is this overflow important at that level. It works fine
in Firefox with visible overflow.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to