[TIMOB-27335] Windows: TableView constantly fires scrollend during mouse drag
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Won't Do |
| Resolution Date | 2020-06-30T14:39:14.000+0000 |
| Affected Version/s | Release 8.1.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Christopher Williams |
| Created | 2019-08-14T01:48:00.000+0000 |
| Updated | 2020-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
| File | Date | Size |
|---|---|---|
| drag.png | 2019-08-14T01:48:26.000+0000 | 12485 |
https://github.com/appcelerator/titanium_mobile_windows/pull/1422