Description
Our docs confuse me on what is correct here
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-event-scrolling (hence filing the ticket and not blocking the PR)
var win = Ti.UI.createWindow({ backgroundColor: 'green', layout: 'vertical' });
var listView = Ti.UI.createListView({ width: Ti.UI.FILL, height: Ti.UI.FILL });
var sections = [];
for (var i = 0; i < 100; i++) {
var fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits ' + i });
var items = [];
for (var j = 0; j < 3; j++) {
items.push({ properties: { title: 'Apple ' + i + '.' + j } });
}
fruitSection.setItems(items);
sections.push(fruitSection);
}
listView.sections = sections;
listView.addEventListener('scrollstart', function (e) {
Ti.API.info('scrollstart');
});
listView.addEventListener('scrolling', function (e) {
Ti.API.info('scrolling');
});
listView.addEventListener('scrollend', function (e) {
Ti.API.info('scrollend');
});
win.add(listView);
win.open();
Steps to reproduce
Add the above code to an existing app.js and build for a Windows device
Scroll the view and ensure the view still scrolls
Actual
Scrolling event stays firing
Expected
Based off Android and iOS the scrolling event should only fire when the user is touching the screen and actively scrolling.
No comments