[TIMOB-15492] iOS7: incorrect title bar height when switching fullscreen to regular tab
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-10-28T19:12:20.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0 |
| Components | iOS |
| Labels | ios, ios7, module_tabgroup, qe-testadded |
| Reporter | Martin van Mierloo |
| Assignee | Vishal Duggal |
| Created | 2013-10-13T05:52:19.000+0000 |
| Updated | 2014-03-12T11:07:45.000+0000 |
Description
The second(!) time you open tab 2 the title bar height is incorrect.
Code to reproduce the isse:
var win1 = Titanium.UI.createWindow({
navBarHidden : true, // the bug happens with or without navbar
fullscreen : true
});
var win2 = Titanium.UI.createWindow({
title: 'Window 2'
});
var tab1 = Titanium.UI.createTab({
title : 'Tab 1',
window : win1
});
var tab2 = Titanium.UI.createTab({
title : 'Tab 2',
window : win2
});
var tabGroup = Ti.UI.createTabGroup();
tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
tabGroup.open();
Attachments
| File | Date | Size |
|---|---|---|
| app.js | 2013-10-13T05:52:19.000+0000 | 437 |
| iOS Simulator Screen shot Oct 13, 2013 7.42.09 AM.png | 2013-10-13T05:52:19.000+0000 | 18324 |
| iOS Simulator Screen shot Oct 13, 2013 7.54.19 AM.png | 2013-10-13T05:54:57.000+0000 | 18604 |
Pull pending against master https://github.com/appcelerator/titanium_mobile/pull/4844
Tested and Verified fix with: OSX: 10.8.5 Xcode:5.0 Appcelerator Studio: 3.2.0.201311112306 SDK: 3.2.0.v20131111174605 acs:1.0.7 alloy:1.3.0 npm:1.3.2 titanium:3.2.0 titanium-code-processo:1.0.3 Device: iOS7(v7.0.3)-iPodTouch1