Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1909] zIndex doesn't exist on non TiUIViews

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:57:31.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsn/a
ReporterBlain Hamon
AssigneeBlain Hamon
Created2011-04-15T03:05:21.000+0000
Updated2011-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.

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Thomas Huelbert 2011-04-15

    1.4.2.4c5cd4a ipod 4th gen 4.1

JSON Source