[TIMOB-9216] MobileWeb: Swipe event for "up" and "down" not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-06-04T05:19:43.000+0000 |
| Affected Version/s | Release 2.0.1 |
| Fix Version/s | Release 2.1.0, Sprint 2012-11 MW |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Pedro Enrique |
| Assignee | Bryan Hughes |
| Created | 2012-05-23T21:45:19.000+0000 |
| Updated | 2012-06-27T12:05:52.000+0000 |
Description
Description:
The swipe events work on MobileWeb, but the "up" and "down" are not implemented yet.Test Code
var win = Ti.UI.createWindow({
backgroundColor: 'white';
});
var view = Ti.UI.createView({
width: Ti.UI.FILL,
heigh: Ti.UI.FILL
});
win.add(view);
view.addEventListener('swipe', function(e){
alert(e.direction);
});
win.open();
Attachments
| File | Date | Size |
|---|---|---|
| app.js | 2012-06-02T11:00:24.000+0000 | 3590 |
| app.js | 2012-06-02T10:56:14.000+0000 | 3608 |
| app.js | 2012-06-01T18:32:15.000+0000 | 455 |
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2308
Test with attached app for swipe events, and test with Kitchen Sink for scrollable view.
Verified the issue in the environment below & the swipe up & down are working properly. Titanium Studio : 2.1.0.201206251749 SDK version : 2.1.0.v20120626204252 Chrome : 19.0.1084.56 Iphone 4.3.5 Android 2.3.6