Animation problems when opening URLs on windows?

You must Login before you can answer or comment on any questions.

I'm trying to create a modal wizard (start from bottom, scroll from right later) using views.

Problems start trying to fake a modal window open:

var fakeModal = Titanium.UI.createAnimation();
fakeModal.height = '100%';
fakeModal.duration = 300;
 
var newWin = Ti.UI.createWindow({url:'wizard.js', height: 0, bottom: 0, backgroundColor:'#369'});
newWin.open(fakeModal);
No url: Correct (fills the screen with blue).

With url: Wrong, often invisible (example: a table view added to the "newWin"/currentWindow in the wizard.js).

Without animation/initial offsets: works correctly (shows table view in wizard.js)

Ti:SDK 1.1.1 / iPhone:SDK 3.1.3

1 Answer

Accepted Answer

This could be a bug - see this thread where a user tried adding a URL to a KitchenSink window transition (which broke it).

Your Answer

Think you can help? Login to answer this question!