[TIMOB-2183] iOS: zindex not working correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | ios, iphone, regression, zindex |
Reporter | Jeff Haynie |
Assignee | Blain Hamon |
Created | 2011-04-15T03:12:57.000+0000 |
Updated | 2011-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();
(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...
Titanium SDK version: 1.5.0 (12/04/10 08:46 b7b9e78) ipod touch 4.2.1