{ "id": "62727", "key": "TIMOB-2095", "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-06-03T15:10:37.000+0000", "created": "2011-04-15T03:10:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-10T00:53:10.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}
1.use the script below, and note how many times the event is\nfired
\nresults:the event is fired twice. works as expected on android.
var win = Ti.UI.currentWindow;
\nvar slider = Titanium.UI.createSlider({
min:0,
\nmax:100,
\nvalue:5,
\nwidth:100,
\nheight:'auto',
\ntop:30
\n});
slider.addEventListener('touchend', function(e){
\nTi.API.info(\"touchend\");
\n}); win.add(slider);
(from [0695e5a1ce39b3ff73983a0f21192258bbbdfd22])\n[#2095 state:fixed-in-qa] Workaround for Apple\nbug where EventTouchUpInside is fired 2x with inaccurate\ntimestamps. \nhttps://github.com/appcelerator/titanium_mobile/commit/0695e5a1ce39...
Bug filed with Apple. Radar # is 8910360.
Tested on iPhone Simulator 4.2 with the code provided and works\nas expected.
\nTi. SDK 1.6 (Jan 25 2011 17:39 r1ead074f)
Reopened by #3580.
\nNote that Apple stated they would not fix this bug.