Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12243] iOS: Tab.open doesn't animate the Window if it's specified on the second parameter

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-01-10T13:33:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 01 API, 2013 Sprint 01
ComponentsiOS
Labelsios, open, tab, tranistions
ReporterPablo Guevara
AssigneeVishal Duggal
Created2013-01-04T13:31:37.000+0000
Updated2013-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
});

Comments

  1. Vishal Duggal 2013-01-10

    Pull for doc update against master https://github.com/appcelerator/titanium_mobile/pull/3694
  2. Anshu Mittal 2013-03-04

    Tested with: SDK:3.1.0.v20130303194855 Studio: 3.1.0.201302252142 Device: iPad mini(v 6.0)

JSON Source