{ "id": "167077", "key": "TIMOB-24573", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-04-12T15:17:58.000+0000", "created": "2017-04-12T13:59:58.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "54703", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "163353", "key": "TIMOB-23934", "fields": { "summary": "iOS: The first view-children not firing click-events when using run-on-main-thread", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-05-31T23:18:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Adding a view inside another view does not fire events of the child view.\r\n\r\ntested with views and labels.\r\n\r\n\r\ncode to reproduce : \r\n\r\n\r\n{code:javascript}\r\nvar containerView = Ti.UI.createView({\r\n borderColor : 'green',\r\n height : 300,\r\n width : 300,\r\n});\r\nvar view = Ti.UI.createView({\r\n height : 200,\r\n width : 200,\r\n borderColor : 'red',\r\n bubbleParent : true\r\n});\r\nvar label = Ti.UI.createLabel({\r\n text : 'Click me',\r\n height : 50,\r\n width : 80,\r\n borderColor : 'blue',\r\n bubbleParent : true\r\n});\r\n\r\nview.add(label);\r\n\r\ncontainerView.addEventListener('click', function(e) {\r\n\r\n console.log(e.source);\r\n});\r\ncontainerView.add(view);\r\n$.win.add(containerView);\r\n{code}\r\n\r\n\r\nin the test case if you click in the label or in the inner view click event does not fire. If you click outside it does. ", "attachment": [], "flagged": false, "summary": "[iOS] View inside another view does not fire events", "creator": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "417270", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I remember this was in issue before but I think it's fixed for 6.1.0 already (TIMOB-23934). Can you try 6.1.0? Then we'd consider to backport it to 6.0.4.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-12T15:01:41.000+0000", "updated": "2017-04-12T15:01:41.000+0000" }, { "id": "417274", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Works with latest master (6.2.0.v20170412004044).\r\nWorks with latest 6.1.0 (6.1.0.v20170410104407) and it's working.\r\n\r\nThanks!", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-12T15:11:39.000+0000", "updated": "2017-04-12T15:11:39.000+0000" }, { "id": "420737", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-31T23:18:31.000+0000", "updated": "2017-05-31T23:18:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }