Page MenuHomePhabricator

When an IndexLayout is nested inside a continuous StackLayout, other panels overlap its content
Open, Needs TriagePublic

Description

Example code: P8349

Output is shown below; note that the panel containing the word "middle" was supposed to appear below the panel containing the IndexLayout, but appears on top of it.

Screen Shot 2019-04-04 at 9.44.46 PM.png (396×1 px, 41 KB)

Event Timeline

Volker_E edited projects, added OOUI; removed OOUI (OOUI-0.31.3).

I think (though I am not sure) that this is happening because deep inside an IndexLayout, there exists a StackLayout which helps showing only one of the tabs at any given time. So when you put an indexLayout inside a StackLayout, you are essentially nesting StackLayouts, and the CSS model for StackLayouts does not support nesting at all.