[TIMOB-7555] iOS: Titanium.UI.Button: touchmove event fails to fire
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-27T09:55:46.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0.1, Release 2.0.0, Release 1.8.1 |
Fix Version/s | Sprint 2012-04, Release 2.0.0 |
Components | iOS |
Labels | module_button, parity, qe-testadded |
Reporter | Dustin Hyde |
Assignee | Max Stepanov |
Created | 2012-02-06T14:26:55.000+0000 |
Updated | 2012-03-27T09:55:46.000+0000 |
Description
Button touchmove event fails to fire.
Steps to Reproduce:
1. Run code.
var win = Ti.UI.createWindow({backgroundColor:'white'});
var button = Ti.UI.createButton({width:'200',height:'200'});
button.addEventListener('touchmove',function(){
Ti.API.info('touchmove fired');
});
button.addEventListener('touchstart',function(){
Ti.API.info('touchstart fired');
});
button.addEventListener('touchend',function(){
Ti.API.info('touchend fired');
});
button.addEventListener('touchcancel',function(){
Ti.API.info('touchcancel fired');
});
button.addEventListener('click',function(){
Ti.API.info('click fired');
});
button.addEventListener('dblclick',function(){
Ti.API.info('dblclick fired');
});
win.add(button);
win.open();
2. Press button, move, and release.
Expected Result:
Console should output three event types: 'touchstart', 'touchmove', 'touchend'.
Actual Result:
No 'touchmove' is printed.
Unless this is a regression we may wish to consider this bug invalid.
Closing as Fixed. SDK: 2.0.0.v20120228094643 Studio: 1.0.9.201202141208 OS: Snow Leopard Devices Tested: iPod 4.3.3, iPhone4 4.3.5, iPhone Simulator 5.0, iPad2 5.0.1