Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27335] Windows: TableView constantly fires scrollend during mouse drag

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Do
Resolution Date2020-06-30T14:39:14.000+0000
Affected Version/sRelease 8.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeChristopher Williams
Created2019-08-14T01:48:00.000+0000
Updated2020-06-30T14:39:14.000+0000

Description

TableView constantly fires scrollend event during dragging scroll bar with PC mouse. !drag.png|thumbnail!
var win = Ti.UI.createWindow();

var tableData = [];

for (var i = 0; i < 40; i++) {
 tableData.push({title: 'Apple ' + i});
}

var table = Ti.UI.createTableView({
  data: tableData
});

table.addEventListener('scrollend', function() {
  Ti.API.info('scrollend');
});

win.add(table);
win.open();
Expected: scrollend happens only when you finish scrolling bar with mouse drag.

Attachments

FileDateSize
drag.png2019-08-14T01:48:26.000+000012485

Comments

  1. Kota Iguchi 2019-08-27

    https://github.com/appcelerator/titanium_mobile_windows/pull/1422

JSON Source