[TIMOB-19219] Windows: AlertDialog is not shown more than twice
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-15T16:52:36.000+0000 |
Affected Version/s | Release 4.1.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2015-07-15T02:10:05.000+0000 |
Updated | 2017-03-16T21:08:17.000+0000 |
Description
Windows: AlertDialog is not shown more than twice.
How to reproduce:
1. Show dialog once by clicking "Push" button
2. Close the dialog
3. Show dialog once by clicking " "Push" button again
4. AlertDialog should be shown again, but nothing happens
var win = Ti.UI.createWindow();
var btn = Ti.UI.createButton({title:'Push'});
btn.addEventListener('click', function (e) {
var dialog = Ti.UI.createAlertDialog({
message: 'Okay',
title: 'Alert Dialog Test'
});
dialog.show();
});
win.add(btn);
win.open();
https://github.com/appcelerator/titanium_mobile_windows/pull/374
Closing ticket as fixed.