{ "id": "63562", "key": "TIMOB-2930", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-05T21:03:57.000+0000", "created": "2011-04-15T03:33:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "quickstart-customer", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-05T21:03:57.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}

This issue was reported by a quickstart customer today. Here is\r\na screenshot of the app: https://img.skitch.com/20110125-pkj4x748henwwpyek5br76d5wi.jpg\r\n- The webView is meant for capturing signatures. The webView\r\nsuccessfully receives touch events but the tableview below it along\r\nwith the textfields and any other elements do not receive any touch\r\nevents. If the webView is removed then the tableView and any other\r\nnative elements receive touch events.

\r\n

Worked previously in 1.4.2. Does not work in 1.5.1 and 1.6\r\n(build from today, 1-25-2011).

\r\n

Sample code below. The tableview and children are added after\r\nthe webView code. Also, even setting the webView to touchEnabled:\r\nfalse doesn't work:

\r\n
\r\n...\r\n\r\n    Approve.webView = Titanium.UI.createWebView\r\n    ({\r\n            top: 24,\r\n            width: \"640\",\r\n            height: \"320\",\r\n            url:'windows/activity/approve.html',\r\n            backgroundColor: Styling.Colors.Transparent,\r\n            zIndex: '3',\r\n            borderRadius:16,\r\n            borderColor:'#ffffff',\r\n            borderWidth:2\r\n    });\r\n    mainView.add(Approve.webView);\r\n\r\n    Approve.Clear();\r\n    \r\n    Approve.thiswindow.add(mainView);\r\n\r\n    /// Triggers when the finger starts touching the screen\r\n    Approve.webView.addEventListener('touchstart', function (e)\r\n    {\r\n        if(Approve.Activity.readonly == false)\r\n        {\r\n            if(Approve.VML.length > 1990)\r\n            {\r\n                return;\r\n            };\r\n    \r\n            Approve.VML += (Approve.START + e.x + ',' + e.y + ' ');\r\n    \r\n            Approve.lastX = e.x;\r\n            Approve.lastY = e.y;\r\n    \r\n            Approve.webView.evalJS('touchstartx(' + e.x + ',' + e.y + ')');\r\n        }\r\n    });\r\n\r\n    /// Triggers when the finger moves over the screensurface\r\n    Approve.webView.addEventListener('touchmove', function (e) \r\n    {\r\n        if(Approve.Activity.readonly == false)\r\n        {\r\n            // Max length for signature in the database is 2000 characters\r\n            if(Approve.VML.length > 1990)\r\n            {\r\n                return;\r\n            };\r\n\r\n            // Do not store duplicate coordinates back to back\r\n            if(e.x == Approve.lastX && e.y == Approve.lastY)\r\n            {\r\n                return;\r\n            };\r\n    \r\n            // Append the current coordinates to the VML string\r\n            Approve.VML += e.x + ',' + e.y + ' ';\r\n    \r\n            // Remember the current coordinates as the last used coordinates\r\n            Approve.lastX = e.x;\r\n            Approve.lastY = e.y;\r\n    \r\n            // Have the webpage draw the actual line on the canvas\r\n            Approve.webView.evalJS('touchmovex(' + e.x + ',' + e.y + ')');\r\n    \r\n            Approve.webView.evalJS('progress(' + Approve.VML.length + ');');\r\n        };\r\n    });\r\n\r\n    /// Triggers when the finger is released from the screen\r\n    Approve.webView.addEventListener('touchend', function (e) \r\n    {\r\n        if(Approve.Activity.readonly == false)\r\n        {\r\n            if(!Approve.VML.endsWith('>'))\r\n            {\r\n                Approve.VML += Approve.END;\r\n            };\r\n        };\r\n    });\r\n\r\n...\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS / iPad: webView Touch Events remove all other touch events outside of WebView", "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": "421010", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the time passed and lack of progress over the past few years.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-05T21:03:57.000+0000", "updated": "2017-06-05T21:03:57.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }