Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5592] MobileWeb: Touch events don't work with slider

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-10-13T13:09:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMisha Vasko
AssigneeChris Barber
Created2011-05-27T01:45:18.000+0000
Updated2011-10-13T13:09:26.000+0000

Description

Touch events do not work with slider object. Slider in iPhone looks like a textField, seems it has the similar problems with touch events as textField and textArea objects.
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('doubletap', function(){
	alert('touchmove works!');
});

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

Comments

  1. Chris Barber 2011-10-13

    Moving ticket to mobileweb.

JSON Source