{ "id": "60705", "key": "TIMOB-73", "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:51:53.000+0000", "created": "2011-04-15T02:23:22.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:51:53.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}
In an iPhone Titanium WebView, if you add a document\neventlistener for \"touchmove\", and stroke down the entire screen,\nthe listener will receive 2 or 3 event. The same stroke in Mobile\nSafari will receive easily 40+ events. Here's some sample code\n(just load this in an iPhone webview or Mobile Safari):
gah, HTML formatting, let's try this again:
\n\n<html>\n<head>\n <meta name=\"viewport\" content=\"width = device-width, user-scalable = yes\"/>\n <script>\n var handler = {\n handleEvent: function(e)\n {\n if (window.Titanium) { Titanium.API.debug(\"event: \" +e.type); }\n else console.log(\"event: \"+e.type);\n e.preventDefault();\n e.stopPropagation();\n }\n };\n \n function load() {\n document.addEventListener(\"touchmove\", handler, false);\n }\n </script>\n</head>\n<body onload=\"load()\">\n Some content\n</body>\n</html>
\n
Closing as it's now moot. We don't override touchmove\nanymore.