{ "id": "61456", "key": "TIMOB-824", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:21.000+0000", "created": "2011-04-15T02:37:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:21.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Sample code:
\n\nvar w = Ti.UI.createWindow();\n\nvar v1 = Ti.UI.createView({\n top:10,\n left:10,\n right:10,\n bottom:10,\n backgroundColor:'#ff0000'\n});\n\nv1.addEventListener('touchstart', function() {\n Ti.API.info('Touched view 1');\n});\n\nvar v2 = Ti.UI.createView({\n top:50,\n left:50,\n right:50,\n bottom:50,\n backgroundColor:'#00ff00'\n});\n\nv2.addEventListener('touchstart', function() {\n Ti.API.info('Touched view 2');\n});\n\nv1.add(v2);\nw.add(v1);\n\nw.open();
\n
\nClick in the second view and you'll see both the events for v1\nand v2 are fired. This may cause problems in some situations; maybe\nadd a 'propagatesEvents' flag?
(from [466f3e41d7e648145f5166c451b5820db51fef04])\nCloses #824: Events are no longer propagated beyond the\nfirst view which has a listener for them. \nhttp://github.com/appcelerator/titanium_mobile/commit/466f3e41d7e64...