Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13147] iOS: Window zIndex does not work

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2013-03-25T17:03:47.000+0000
Affected Version/sRelease 2.1.4, Release 3.0.0, Release 3.0.2
Fix Version/sn/a
ComponentsiOS
Labelsparity, supportTeam
ReporterBetty Tran
AssigneeIngo Muschenetz
Created2013-03-21T14:58:34.000+0000
Updated2017-03-22T20:54:40.000+0000

Description

Description

When setting zIndex on a window in iOS it does not work. The window set with a lower zIndex still appears above if it is opened after. In Android it works as expected.

Code to reproduce


var win_red = Ti.UI.createWindow({
    backgroundColor: '#f00',
    left:10,
    top:10,
    width:200,
    height:300,

    zIndex:20

});

var win_green = Ti.UI.createWindow({
    backgroundColor: '#0f0',
    left:110,
    top:110,
    width:200,
    height:300,

    zIndex:10

});

win_red.open();
win_green.open();

Comments

  1. Vishal Duggal 2013-03-25

    zIndex does not apply to top level containers.
  2. Lee Morris 2017-03-22

    Closing ticket as invalid with reference to the above comments.

JSON Source