GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-30T18:24:21.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 22 API, 2012 Sprint 22 |
Components | iOS |
Labels | animation, api, module_animation, qe-testadded |
Reporter | Carl Orthlieb |
Assignee | Vishal Duggal |
Created | 2012-09-06T14:42:44.000+0000 |
Updated | 2013-07-25T11:27:12.000+0000 |
1. Run the attached project (test.zip) on Android. Observe the position of the Alloy logo, the top of the logo aligns with the red line.
2. Run the attached project on iOS. Observe the position of the Alloy logo, the center of the logo aligns with the red line.
EXPECTED BEHAVIOR: the logo should animate in from the top of the screen to where the top of the logo is half way down the screen (50% where the blue line is) and then should bounce back to where the top of the logo is one third of the way down the screen (33% where the red line is).
ACTUAL BEHAVIOR: Android performs correctly. It looks to me like iOS is animating and positioning the logo based on the centerpoint instead of the top.
Test Code without alloy Animation with ANIMATE1 button works. Does not work with ANIMATE2 button.
The resource file used in test
Pull pending https://github.com/appcelerator/titanium_mobile/pull/3312
Backport PR for 3_0_X https://github.com/appcelerator/titanium_mobile/pull/3323
Tested with 3.0.0.v20121130200208 with iPhone 4 5.1.1