[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();
Comments
- Blain Hamon 2011-04-15
- chris 2011-04-15
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.
- Stephen Tramer 2011-04-15
This will not be fixed for 1.6.
- Stephen Tramer 2012-07-26 Confirmed valid SDK 2.2.0.014b86f
- Junaid Younus 2012-08-22 Tested on the iOS simulator using TiSDK 2.2.0v20120821095711, issue still valid.
- Lee Morris 2017-06-07 Closing ticket due to time passed and lack of progress or input.