Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9216] MobileWeb: Swipe event for "up" and "down" not working

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-06-04T05:19:43.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-11 MW
ComponentsMobileWeb
Labelsn/a
ReporterPedro Enrique
AssigneeBryan Hughes
Created2012-05-23T21:45:19.000+0000
Updated2012-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

FileDateSize
app.js2012-06-02T11:00:24.000+00003590
app.js2012-06-02T10:56:14.000+00003608
app.js2012-06-01T18:32:15.000+0000455

Comments

  1. Bryan Hughes 2012-06-01

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2308
  2. Bryan Hughes 2012-06-01

    Test with attached app for swipe events, and test with Kitchen Sink for scrollable view.
  3. Lokesh Choudhary 2012-06-27

    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

JSON Source