[AC-2328] Animating from 640 would never show the animated view, but works with 639
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-04-05T19:55:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Titanium SDK & CLI |
Labels | n/a |
Reporter | Oleg Polyakov |
Assignee | Shak Hossain |
Created | 2012-12-21T18:20:26.000+0000 |
Updated | 2016-03-08T07:41:20.000+0000 |
Description
function loadCheckin(category){
$.checkin = Alloy.createController('checkin');
mainWindow.add($.checkin.container);
$.checkin.container.left = 639;
$.mainContainer.animate({left:0, duration:0},function(){$.checkin.container.animate({left:0, duration:200});});
$.checkin.loadPage(category);
}
This likely is not an Alloy-specific issue, assigning to Ingo so platform can assess.
Hello, I tried to create a similar scenario, but I cannot reproduce the problem. I think you should share the code of your controller, in order to understand what exactly is going on. Also, why are you running a 0ms animation on the mainContainer? What exactly is mainContainer? Thanks
We have not heard back from you since you posted the issue. Not sure if this is still throwing error in your app. If so, please send us a complete test case so that we can take next necessary step to fix. Your sample is missing some components. If you can upload those, we will re-test and provide you our feedback.
We are unable to reproduce the reported error with the latest TISDK. Here is the code sample we used to test.
Test Environment:
MAC OS X 10.8.5 Ti SDK 3.2.0.GA IOS Simulator 7.0.3 Ti CLI 3.2.0 Alloy 1.3.0 Android 2.3.3, 4.2.2Test Code
index.jsindex.xml
Thanks
Since the issue is not reproducible anymore, closing it.