[TIMOB-11790] Android: Lightweight window animations on open not working
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-08-14T21:21:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | SupportTeam, allen-review, core, insight |
Reporter | Varun Joshi |
Assignee | Allen Yeung |
Created | 2012-11-15T21:42:53.000+0000 |
Updated | 2017-03-20T22:10:57.000+0000 |
Description
Note: Heavyweight windows are addressed in TIMOB-10302.
Issue
Animations on opening a lightweight window are not working.
Steps to Reproduce
1. Run the sample code below
{noformat}
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
win.open();
win.addEventListener('click', function(){
var win1 = Ti.UI.createWindow({
backgroundColor: 'red',
left: 320
});
var slide_it_left = Titanium.UI.createAnimation();
slide_it_left.left = 0;
slide_it_left.duration = 300;
win1.open(slide_it_left);
});
{noformat}
2. No animation occurs. The new window is stuck at position 320.
Comments
JSON Source
This works on the latest master (for 3.2.0)
This issue is probably irrelevant for 3.2 since lightweight windows are a legacy feature.
My mistake, seems to still be valid if we enable legacy mode.
Duplicate of TIMOB-6245