[TIMOB-15715] Blackberry: Window click event not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-11-14T19:27:56.000+0000 |
| Affected Version/s | Release 3.2.0 |
| Fix Version/s | n/a |
| Components | BlackBerry |
| Labels | 3.2.0, look1 |
| Reporter | Priya Agarwal |
| Assignee | Pedro Enrique |
| Created | 2013-11-14T05:41:39.000+0000 |
| Updated | 2017-03-14T21:08:39.000+0000 |
Description
Window click event is not working. Controls on window with respective click event working fine.
Example Button on window. Buttons click event is working.
Code Used to test:
var win = Ti.UI.createWindow({
backgroundColor:"white"
});
win.addEventListener('click',function(e){
Ti.API.info('am clicked');
alert('window clicked');
});
win.open();
Steps to reproduce:
1. Copy Paste the code in app.js. Run the App.
2. Click on Window.
Expected Result:
2.Alert and Console logs must be printed.
Actual Result:
2.No Alert as well as Logs are printed.
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/189
Click on window has been enabled. To test add click event to window.
var win = Ti.UI.createWindow({ backgroundColor: 'yellow' }); win.addEventListener('click', function(e) { Ti.API.info('click works'); }); win.open();Closing as resolved.