Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5628] MobileWeb: Click event not works with slider

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-27T04:06:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-27T02:03:19.000+0000
Updated2017-03-09T20:39:53.000+0000

Description

The click event not works with slider object in desktop browser. The dblclick event works good.
var win = Ti.UI.currentWindow;

var slider = Ti.UI.createSlider({
	value: 'the slider',
	top: 10,
	left: 10,
	width: 200,
	height: 50,
	min: 0,
	max: 100
});


win.add(slider);

slider.addEventListener('click', function(){
	alert('click works');
});

slider.addEventListener('dblclick', function(){
	alert('dblclick works');
});

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source