Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2190] iOS : Slider touch end event seems to be fired at least 2X

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-15T03:13:09.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsdefect, ios, slider, touchend
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T03:13:08.000+0000
Updated2017-03-03T06:26:51.000+0000

Description

1.using this script:

var win = Ti.UI.currentWindow;
var slider = Titanium.UI.createSlider({
min:0,
max:100,
value:5,
width:100,
height:'auto',
top:30
});

slider.addEventListener('touchend', function(e){
Ti.API.info("touchend");
}); win.add(slider);

2.drag the slider some and relase - view output

results:
Mon Oct 25 15:01:50 unknown UIKitApplication:com.appcelerator.QAtests[0x3e9c][128] : [INFO] touchend
Mon Oct 25 15:01:50 unknown UIKitApplication:com.appcelerator.QAtests[0x3e9c][128] : [INFO] touchend

I can't seem to get less than 2X events, sometimes more (when dragging to end).

Comments

  1. Stephen Tramer 2011-04-15

    Dupe of #2095

  2. Lee Morris 2017-03-03

    Closing issue due to time passed and irrelevance of the ticket.

JSON Source