Page MenuHomePhabricator

Problem with a user menu due to hidden overflow in sections
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: major
OS: Windows XP
Platform: PC

Details

Reference
bz23782

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:05 PM
bzimport set Reference to bz23782.

Hm... This might be related or even duplicate of Bug 23541.

The same problem was just reported with the headings drop down menu so it's definitely a dup.

  • This bug has been marked as a duplicate of bug 23541 ***