[TIMOB-13147] iOS: Window zIndex does not work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-03-25T17:03:47.000+0000 |
Affected Version/s | Release 2.1.4, Release 3.0.0, Release 3.0.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | parity, supportTeam |
Reporter | Betty Tran |
Assignee | Ingo Muschenetz |
Created | 2013-03-21T14:58:34.000+0000 |
Updated | 2017-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();
zIndex does not apply to top level containers.
Closing ticket as invalid with reference to the above comments.