{ "id": "150748", "key": "TIMOB-19417", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-08-27T02:57:13.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:55.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Odd iOS 9 issue.\r\n\r\nSetup:\r\nXcode Beta 6\r\niOS 9 iPhone 6 sim\r\nTi SDK 5.0.0.v20150826144420\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nWon't fire:\r\n\r\n{code}\r\n$.gridContainer.addEventListener('click', function (e) {});\r\n{code}\r\n\r\nBUT this event WILL fire if I add event listeners to it's children like so:\r\n\r\n{code}\r\n$.wrapper.addEventListener('click', function (e) {\r\n console.log(e, e.source, e.source.id);\r\n});\r\n\r\n$.regulationSection.addEventListener('click', function (e) {\r\n console.log(e, e.source, e.source.id);\r\n});\r\n\r\n$.bag_limit.addEventListener('click', function (e) {\r\n console.log(e, e.source, e.source.id);\r\n});\r\n{code}\r\n\r\nI remember seeing this happen in previous SDK's long ago. I can't remember what caused it since it was years ago.", "attachment": [], "flagged": false, "summary": "iOS 9 - Click event handler not firing for multiple nested child elements", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "361360", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Here's a video demonstrating the issue: https://db.tt/ydNm2Sgt\r\n", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-08-27T03:02:39.000+0000", "updated": "2015-08-27T03:02:39.000+0000" }, { "id": "361507", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Is that really the XML you want to be going with there?", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-27T21:24:11.000+0000", "updated": "2015-08-27T21:24:11.000+0000" }, { "id": "361511", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "[~sfeather] I went through several views that I require in and added the structure to the snippet above. The Alloy XML looks a little different because of the requires.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-08-27T22:01:05.000+0000", "updated": "2015-08-27T22:01:05.000+0000" }, { "id": "363995", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~rblalock] Is this issue still open?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-15T19:19:51.000+0000", "updated": "2015-09-15T19:19:51.000+0000" }, { "id": "363997", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "This has fixed itself with the newer builds.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-09-15T19:49:29.000+0000", "updated": "2015-09-15T19:49:29.000+0000" }, { "id": "364617", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "I see this issue again in master - 5.1.0.v20150922011227", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-09-22T13:06:04.000+0000", "updated": "2015-09-22T13:06:04.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }