[TIMOB-19306] MobileWeb: Option Dialog UI does not fire when click on the option button in Mobile Web
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-06-26T22:22:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | mobileweb, optionaDialog |
Reporter | JackieTai |
Assignee | Praveen Innamuri |
Created | 2015-07-29T07:02:59.000+0000 |
Updated | 2017-08-24T20:48:06.000+0000 |
Description
when create an option dialog box, it show normally but when click on any button will not fire anything, and the option dialog keep showing no matter what you click
try the following code on mobile web and you will see
Ti.UI.setBackgroundColor('white');
var win = Ti.UI.createWindow({
title: 'Click window to test',
backgroundColor: 'white',
exitOnClose: true,
fullscreen: false
});
var opts = {
cancel: 2,
options: ['Confirm', 'Help', 'Cancel'],
selectedIndex: 2,
destructive: 0,
title: 'Delete File?'
};
win.addEventListener('click', function(e){
var dialog = Ti.UI.createOptionDialog(opts).show();
});
win.open();
Mobile Web has been deprecated and will be removed in fixVersion 7.0.0.