{ "id": "61438", "key": "TIMOB-806", "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": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:18.000+0000", "created": "2011-04-15T02:36:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "performance", "sliders", "touchend" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:18.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}
Hello,
\nI tried it several times and even the most basic example is not\nworking:
\nvar slider = Titanium.UI.createSlider({
\nmin:0,\nmax:10,\nvalue:5,\nwidth:100,\nheight:'auto',\ntop:30
\n
\n});
\nslider.addEventListener('touchend', function(e){
\nalert(\"touchend\");
\n
\n});
\nwin.add(slider);
\nIs it not yet implemented or just a bug?
\nI actually need this very urgently. Is there some kind of\nworkaround for this?
Many thanks,
\nFlorian
Hoping this is addressed. Cheers! :-)
I'd like to mention that this feature would greatly improve\nperformance for applications that dynamically update from these\nvalues.
\nChroma uses a large number of calculations every time this value\nis changed. I've improved performance by only doing calculations at\nwhole numbers.
\nAlso, it would be much easier to implement \"history\"\nfunctionality if data is saved only after the user ends the\ntouch.
Another vote for addressing this issue. My slider won't work as\nits supposed to without a proper touchend event being fired.
Assigning so it can get on the list.
Slider touchend event works only on the track by my test. In the\nmeantime is there any way to add a touchend event to the button\nitself ( my_slider.sliderbtn.addEventListener...... ) or something\nlike that.
\nIn my case I feel it should fire change every time it moved but\nhave a touchend event so you can act upon the final value.
Here goes yet another vote for fixing this aged bug in\ncontinuous builds.
@vit please don't change assignees.
\nThis works on Android.
Awesome! Thanks!
(from [25f736bedcb6bb69d10924a6c030a6909ea47679])\n[#806\nstate:fixed-in-qa] Added handling for certain control events on\nslider. \nhttp://github.com/appcelerator/titanium_mobile/commit/25f736bedcb6b...
The event is now firing on iOS, but its firing 2X. closing this\nand opening a bug #2095
Hi,
\nI found that \"touchend\" event for Titanium.UI.Slider object is\nstill not fired in Android. My env is:
\nTitanium SDK 1.5.1
\nTitanum Developer 1.2.1
\nAndroid SDK 2.2
Even the slider_basic.js example in Kitchen Sink (the code\ncommited here \nhttp://github.com/appcelerator/titanium_mobile/commit/25f736bedcb6b...)\nis capable to show the bug.