[AC-2989] Bug with tabGroup, fullscreen window and transition
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-10-20T12:51:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | fullscreen, iphone, tabbar, tabgroup, transition |
Reporter | Bacto |
Assignee | Paul Dowsett |
Created | 2011-09-12T04:33:33.000+0000 |
Updated | 2016-03-08T07:48:00.000+0000 |
Description
Hi,
I have a bug on iphone when I use a tabGroup : I create a new window in fullscreen and when I close this window with a transition, the bottom tabBar is pushed upside.
If I don't use a transition or if the new window is not a fullscreen window, I haven't this bug.
Check this simple example :
Titanium.UI.setBackgroundColor('#00FF00');
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
var label1 = Titanium.UI.createLabel({
text:'Click here'
});
label1.addEventListener('singletap', function(e) {
var win2 = Titanium.UI.createWindow({
backgroundColor: '#ff0000',
fullscreen: true
});
win2.open({
transition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
});
win2.addEventListener('singletap', function(e) {
win2.close();
});
});
win1.add(label1);
tabGroup.addTab(tab1);
tabGroup.open();
Click on the label "Click here". The new window in red is created and displayed. Click on the red window : the tabBar is moved up !
Does anyone have a solution ?
Thanks,
Thank you for raising this ticket. If this is still an issue, then we need all the information listed in the [Jira Ticket Checklist](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist) in order to accept the ticket. Once the ticket is complete, we will look into moving it to the main project. Thank you.
Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance