Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2183] iOS: zindex not working correctly

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:20.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsios, iphone, regression, zindex
ReporterJeff Haynie
AssigneeBlain Hamon
Created2011-04-15T03:12:57.000+0000
Updated2011-04-17T01:58:20.000+0000

Description

Running on master as of 10/24, zIndex seems broken.

Here's the test case. Pink should be on top.

var window = Ti.UI.createWindow();
var view1 = Ti.UI.createView({
    backgroundColor:'pink',
    zIndex:20,
    width:200,
    height:30,
    top:10,
    left:10
});

var view2 = Ti.UI.createView({
    backgroundColor:'blue',
    zIndex:11,
    width:200,
    height:30,
    top:15,
    left:15
});

var view3 = Ti.UI.createView({
    backgroundColor:'red',
    zIndex:12,
    width:200,
    height:30,
    top:20,
    left:20
});

window.add(view1);
window.add(view2);
window.add(view3);
window.open();

Comments

  1. Jeff Haynie 2011-04-15

    (from [483124c7082e31db4e80b3de4739f7eeb703da27]) [#2183 state:fixed-in-qa] [#775 state:fixed-in-qa] [#2092 state:fixed-in-qa] [#1426 state:fixed-in-qa] [#1416 state:fixed-in-qa] This time, zIndex is fixed for sure! Really now! Honest! http://github.com/appcelerator/titanium_mobile/commit/483124c7082e31db4e80b3de4739f7eeb703da27"> http://github.com/appcelerator/titanium_mobile/commit/483124c7082e3...

  2. Thomas Huelbert 2011-04-15

    Titanium SDK version: 1.5.0 (12/04/10 08:46 b7b9e78) ipod touch 4.2.1

JSON Source