[TIMOB-5592] MobileWeb: Touch events don't work with slider
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-10-13T13:09:26.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Misha Vasko |
Assignee | Chris Barber |
Created | 2011-05-27T01:45:18.000+0000 |
Updated | 2011-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!');
});
Moving ticket to mobileweb.