Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24132] Windows: touchmove event not fired on tableview

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-03-23T22:54:20.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0
ComponentsWindows
Labelsqe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-11-10T16:30:12.000+0000
Updated2017-03-24T17:19:20.000+0000

Description

Description

touchmove event does not fire on tableview, touchstart does fire however
var _window = Ti.UI.createWindow();

var data = [];
for (var i = 1; i <= 10; i++) {
    data.push({
        title: 'Row ' + i
    });
}
var MyListbox = Ti.UI.createTableView({data: data});
Ti.API.info('adding EventListener for touchstart');
MyListbox.addEventListener('touchstart', TchStart);

function TchStart(evt) {
    Ti.API.info('TchStart');
}

Ti.API.info('adding EventListener for touchmove');
MyListbox.addEventListener('touchmove', TchMove);

function TchMove(evt) {
    Ti.API.info('TchMove');
}


_window.add(MyListbox);
_window.open();

Steps to reproduce

Add the code to an existing app.js, build for Windows Platform

Touch the tableview, move your finger around

Actual result

The touchmove event should fire when the finger is moved

Expected result

touchmove event not fired

Comments

  1. Kota Iguchi 2017-02-16

    https://github.com/appcelerator/titanium_mobile_windows/pull/954
  2. Samir Mohammed 2017-03-24

    Verified fix in 6.1.0.v20170323174407. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/954

JSON Source