[TIMOB-12243] iOS: Tab.open doesn't animate the Window if it's specified on the second parameter
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-10T13:33:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 01 API, 2013 Sprint 01 |
Components | iOS |
Labels | ios, open, tab, tranistions |
Reporter | Pablo Guevara |
Assignee | Vishal Duggal |
Created | 2013-01-04T13:31:37.000+0000 |
Updated | 2013-03-04T09:42:34.000+0000 |
Description
If I specify some transition for opening a Window inside a Tab, it will be ignored and the window is opened with the default transition.
Code Example:
var tabGroup = Ti.UI.createTabGroup();
var w1 = Ti.UI.createWindow();
var w2 = Ti.UI.createWindow({
backgroundColor: 'red'
});
var t1 = Ti.UI.createTab({
window: w1
});
tabGroup.addTab(t1);
tabGroup.open();
t1.open(w1, {
animated: true,
transition: Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
});
Pull for doc update against master https://github.com/appcelerator/titanium_mobile/pull/3694
Tested with: SDK:3.1.0.v20130303194855 Studio: 3.1.0.201302252142 Device: iPad mini(v 6.0)