[TIMOB-1647] Navigation Group on iPad does not destroy custom left & right nav buttons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-04-21T18:03:15.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-16 |
Components | iOS |
Labels | defect, group, ios, ipad, nav |
Reporter | ctredway |
Assignee | Jacob Relkin |
Created | 2011-04-15T02:58:19.000+0000 |
Updated | 2012-02-09T10:55:25.000+0000 |
Description
Using 1.4 on 3.2 when a window sets a left & right nav button when that window is closed via the nav, those buttons are not destroyed from view. below code demonstrates.
// app.js //
var win1 = Ti.UI.createWindow({
backgroundColor: 'white',
title: 'Nav Group'
}); var label1 = Ti.UI.createLabel({
text: 'Open Child Window',
left: 10,
top: 10
}); win1.add(label1);
var group = Ti.UI.iPhone.createNavigationGroup({
window: win1
});
var main = Ti.UI.createWindow();
main.add(group);
main.open();
label1.addEventListener('click',function() {
var win2 = Ti.UI.createWindow({
title: 'Child Window',
backgroundColor: 'white'
});
var nextButton = Ti.UI.createButton({
title: 'Next'
});
var backButton = Ti.UI.createButton({
title: 'Back'
});
win2.rightNavButton = nextButton;
// win2.leftNavButton = backButton;
backButton.addEventListener('click',function() {
group.close(win2);
});
group.open(win2);
});
Comments
- Blain Hamon 2011-04-15
- Reggie Seagraves 2011-04-15
Moving navigation issues to Sprint 16.
- Jacob Relkin 2011-04-21 I could not reproduce this bug on the iPad using the latest SDK. Verified on Reggie's machine as well. Tested with 1.6.0 as well, the bug is simply not reproducible.
- Thomas Huelbert 2012-02-09 closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)