Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18501] iOS: Open NavigationWindow with FLIP_FROM_LEFT transition makes title jump

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsiOS
LabelsTCSupportTriage
ReporterThomas Neerup
AssigneeUnknown
Created2014-09-08T06:51:07.000+0000
Updated2018-02-28T19:54:58.000+0000

Description

Problem Description

Open NavWindow with FLIP_FROM_LEFT produces a little jump.

Steps to reproduce

1. Create a new mobile project 2. Add this to app.js
var firstWindow = Ti.UI.createWindow({
	backgroundColor : "white",
	title:'First Window'
	
});
var firstWindow = Ti.UI.iOS.createNavigationWindow({
	backgroundColor: 'blue',
	window : firstWindow
});
var openLabel = Ti.UI.createLabel({
	text : 'Open window'
});
openLabel.addEventListener('click', function() {
	navWindow.open({
		transition : Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
	});
});
firstWindow.add(openLabel);

var secondWindow = Ti.UI.createWindow({
	backgroundColor: 'white',
	title : 'Second Window',
});
var closeButton = Ti.UI.createButton({
	title : 'Close'
});
closeButton.addEventListener('click', function(e) {
	navWindow.close({
		transition : Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
	});
});
secondWindow.setLeftNavButton(closeButton);
var navWindow = Ti.UI.iOS.createNavigationWindow({
	backgroundColor: 'red',
	window : secondWindow
});
firstWindow.open();
3. Run it in a device.

Actual Results

The Navigationbar and title jumps when opened Second window.

Attachments

FileDateSize
index.js2014-09-08T06:51:08.000+0000757

Comments

No comments

JSON Source