[TIMOB-1909] zIndex doesn't exist on non TiUIViews
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | n/a |
Reporter | Blain Hamon |
Assignee | Blain Hamon |
Created | 2011-04-15T03:05:21.000+0000 |
Updated | 2011-04-17T01:57:31.000+0000 |
Description
When doing performZIndexRepositioning, zIndex was assumed on the subviews, which caused problems with scrollable and scroll views, as this was done before a check on if the child views are TiUIViews, which UIScrollView is not. This led to a crashing exception.
(from [992659e4348bc0e2e3a641d772065442cac423ee]) [#1909 state:fixed-in-qa] Refactored performZIndexRepositioning to only iterate through subviews that are TiUIViews. Note, however, that this does not solve repositioning within TiViews that don't have the proxy's children's views as direct subviews (But it does mean no crashing) http://github.com/appcelerator/titanium_mobile/commit/992659e4348bc0e2e3a641d772065442cac423ee"> http://github.com/appcelerator/titanium_mobile/commit/992659e4348bc...
1.4.2.4c5cd4a ipod 4th gen 4.1