[TIMOB-2190] iOS : Slider touch end event seems to be fired at least 2X
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-04-15T03:13:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | defect, ios, slider, touchend |
Reporter | Thomas Huelbert |
Assignee | Blain Hamon |
Created | 2011-04-15T03:13:08.000+0000 |
Updated | 2017-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).
Dupe of #2095
Closing issue due to time passed and irrelevance of the ticket.