[TIMOB-2137] iOS: Opening a modal window over another modal causes issues
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-07T23:48:24.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | core |
Reporter | Stephen Tramer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:11:36.000+0000 |
Updated | 2017-06-07T23:48:24.000+0000 |
Description
Demonstrated in the following code:
var win = Ti.UI.createWindow({backgroundColor:'white'});
var modal1 = Ti.UI.createWindow({backgroundColor:'blue', modal:true});
var modal2 = Ti.UI.createWindow({backgroundColor:'red', modal:true});
var open1 = Ti.UI.createButton({
title:'Open modal1',
width:200,
height:40
});
open1.addEventListener('click', function() {
modal1.open();
});
win.add(open1);
var open2 = Ti.UI.createButton({
title:'Open modal2',
width:200,
height:40
});
open2.addEventListener('click', function() {
modal2.open();
});
modal1.add(open2);
var close1 = Ti.UI.createButton({
title:'Close modal1',
top:40,
width:200,
height:40
});
close1.addEventListener('click', function() {
modal1.close();
});
modal2.add(close1);
var close2 = Ti.UI.createButton({
title:'Close modal2',
top:100,
width:200,
height:40
});
close2.addEventListener('click', function() {
modal2.close();
});
modal2.add(close2);
win.open();
Watch https://github.com/appcelerator/titanium_mobile/tree/ios_window_refactor"> https://github.com/appcelerator/titanium_mobile/tree/ios_window_ref... for codefixes on this.
Hi, I just wanted to see if I'm understanding the milestone changes/settings right. Am I correct to assume that the official release of 1.6 will contain the fix for this? This is something we need, so I'm trying to assess if I should expect a fix for 1.6, or if a fix is not definite for 1.6 (and I should take a different approach until a fix is available). Thanks.
This will not be fixed for 1.6.
Confirmed valid SDK 2.2.0.014b86f
Tested on the iOS simulator using TiSDK 2.2.0v20120821095711, issue still valid.
Closing ticket due to time passed and lack of progress or input.