{ "id": "98864", "key": "TIMOB-10361", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2012-08-08T10:19:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "touch", "transparent", "view" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-04-13T20:09:45.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "It would be nice to be able to set touchPassThrough for a view: When clicking on a transparent part of the view, the touch is sent to the parent.", "attachment": [], "flagged": false, "summary": "TiAPI: TouchPassThrough for views", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 2.2.0 (master)\r\nios 5.1\r\nosx 10.8", "comment": { "comments": [ { "id": "213325", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "pull request: https://github.com/appcelerator/titanium_mobile/pull/2696", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-08-08T10:22:18.000+0000", "updated": "2012-08-08T10:22:18.000+0000" }, { "id": "213329", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "test case\r\n{code}\r\nvar win = Ti.UI.createWindow({ fullscreen: true, backgroundColor: 'white'});\r\n \r\nvar button = Titanium.UI.createButton({\r\n title:'you can touch me!',\r\n width:200,\r\n height:40,\r\n top:20\r\n});\r\n \r\nbutton.addEventListener('click', function()\r\n{\r\n alert(\"you clicked me when i am actually under another view!\");\r\n});\r\n\r\nvar button2 = Titanium.UI.createButton({\r\n title:'you cant touch me!',\r\n width:200,\r\n height:40,\r\n bottom:20\r\n});\r\n \r\nbutton2.addEventListener('click', function()\r\n{\r\n alert(\"that shouldn t happen!\");\r\n});\r\n\r\n\r\nwin.add(button);\r\nwin.add(button2);\r\n\r\nvar view = Ti.UI.createView({\r\n top:0,\r\n touchPassThrough:true,\r\n height:'50%' \r\n});\r\n\r\nvar view2 = Ti.UI.createView({\r\n bottom:0,\r\n height:'50%' \r\n});\r\n\r\nwin.add(view);\r\nwin.add(view2);\r\n\r\nwin.open();\r\n\r\n{code}", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-08-08T10:27:13.000+0000", "updated": "2012-08-08T10:27:13.000+0000" }, { "id": "214285", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It s now also working on android. See the pull request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2696\r\n", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-08-14T05:40:31.000+0000", "updated": "2012-08-14T05:40:31.000+0000" }, { "id": "214286", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "I can vouch for the validity of these use cases, and others. I've encountered these in apps I've built for Appcelerator, and having this property would greatly reduce the complexity of my code in some cases and make other cases, formerly impossible, possible.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-14T06:00:50.000+0000", "updated": "2012-08-14T06:00:50.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }