{ "id": "173467", "key": "AC-6208", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2019-05-01T22:37:10.000+0000", "created": "2019-04-12T18:49:24.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-01T22:37:10.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "I have a template in a ListView which contains a button. The onItemclick event of the ListView is not getting triggered when clicking the button in the ListItem, however all other elements in the template are triggered the itemclick fine. This is only an issue on iOS and not Android.\r\n\r\nI have included a sample app demonstrating the issue.\r\n\r\n", "attachment": [ { "id": "66551", "filename": "itemclick_issue.zip", "author": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-12T18:45:14.000+0000", "size": 8664080, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: onItemclick ListView event not triggering with buttons", "creator": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "{noformat}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.4\r\n Architecture = 64bit\r\n # CPUs = 6\r\n Memory = 32.0GB\r\n\r\nNode.js\r\n Node.js Version = 10.13.0\r\n npm Version = 6.9.0\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.13\r\n Core Package = 7.0.10\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\n node-appc Version = 0.2.44\r\n{noformat}", "comment": { "comments": [ { "id": "447671", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~zlitten] If you want to get 'onItemClick' event on click of button, you can disable touch event on button using property [touchEnabled|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-touchEnabled]. \r\nUpdate index.xml with -\r\n \r\n{code:java}\r\n\t