{ "id": "63607", "key": "TIMOB-2975", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-23T14:13:34.000+0000", "created": "2011-04-15T03:34:00.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "feature", "ios", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T18:02:58.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

The iOS implementation of the 'scrollEnd' event fires the event\r\nwhen the user lifts their finger. Our docs state: \"fired when the\r\ntable view stops scrolling (currently, iphone only)\". Whether that\r\nshould happen upon deceleration or another way is not clear. Either\r\nway, it doesn't currently fire the way the documentation leads.

\r\n

Also, the event is named 'scrollEnd' (camelcase) which is not\r\nconsistent with most of our other event names.

\r\n

This is a ticket that is in line with the Android ticket here:\r\n\r\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/2622-...

\r\n

HD ticket here: http://developer.appcelerator.com/helpdesk/view/69201

\r\n

Sample:

\r\n
\r\nvar win = Ti.UI.currentWindow; \r\nwin.backgroundColor = '#fff';\r\n\r\nvar rows = [];\r\n\r\nfor (var i = 0; i < 1000; i++) {\r\n    var row = Ti.UI.createTableViewRow();\r\n    \r\n    var label = Ti.UI.createLabel({\r\n        text: 'Some label ' + i\r\n    });\r\n    row.add(label);\r\n    \r\n    rows.push(row);\r\n};\r\n\r\nvar table = Ti.UI.createTableView({\r\n    data: rows\r\n});\r\n\r\ntable.addEventListener('scroll', function(e) {\r\n    //Ti.API.info('Start ' + e);\r\n});\r\n\r\ntable.addEventListener('scrollEnd', function(e) {\r\n    Ti.API.info('End ' + e);\r\n});\r\n\r\nwin.add(table);\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: Scroll end view consistency / parity with Android", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "129789", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [66b472c242ef88e8721b573c966311ba85b2ef5a])\n[#2975 state:fixed-in-qa] Triggering at the right\ntime now. \nhttps://github.com/appcelerator/titanium_mobile/commit/66b472c242ef...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:00.000+0000", "updated": "2011-04-15T03:34:00.000+0000" }, { "id": "129790", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested sim 4.2.1 debug, iPod 3GT 4.2.1 release. Behaves as\ndescribed in documentation.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:00.000+0000", "updated": "2011-04-15T03:34:00.000+0000" }, { "id": "129791", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [b310670abc27a95431a1ed152eb31984134e54ee])\nRevert \"[#2975 state:fixed-in-qa] Triggering at the right\ntime now.\" We'll have to revisit this in 1.7.
\nThis reverts commit 66b472c242ef88e8721b573c966311ba85b2ef5a.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/b310670abc27...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:01.000+0000", "updated": "2011-04-15T03:34:01.000+0000" }, { "id": "129792", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

You saw the revert. This will have to wait.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:02.000+0000", "updated": "2011-04-15T03:34:02.000+0000" }, { "id": "412120", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T18:02:58.000+0000", "updated": "2017-03-14T18:02:58.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }