{ "id": "63644", "key": "TIMOB-3012", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T03:34:45.000+0000", "created": "2011-04-15T03:34:44.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "ios", "kitchensink", "regression", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T06:21: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}

Problem

\n

Our Pull to Refresh example no longer works because of the\nchanges in #2975, due to scrollEnd firing after the table\nhas stopped moving, as opposed to when the user lifts their\nfinger.

\n

Affected File

\n

Resources/examples/table_view_pull_to_refresh.js, lines\n144-157

\n

Fix

\n

The condition \"&& e.contentOffset.y <= -65\" on line\n146 is not necessary, and is stopping the sample from working.\nRemoving it will allow pull to fresh to function again.

\n

Aesthetic Issue

\n

Because scrollEnd is firing after the table stops moving, with\nthe fix above, the table view will return to the top of the table\nafter getting pulled down far enough and released. scrollEnd then\nfires, and the \"Reloading...\" status is shown, pushing the table\nback down. There may be another approach that would avoid the\nunnecessary table movement this results in.

\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/69331

{html}", "attachment": [], "flagged": false, "summary": "iOS Kitchen Sink: Table View Pull to Refresh Broken by #2975", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "129868", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Forgot to assign... let me know if this should get kicked to\nsomeone else, Kevin. I'm assigning to you based on a hunch.

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:34:44.000+0000", "updated": "2011-04-15T03:34:44.000+0000" }, { "id": "129869", "author": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is there any events that still fire when a users finger is\nlifted?

{html}", "updateAuthor": { "name": "anthonywebb", "key": "anthonywebb", "displayName": "Anthony Webb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:44.000+0000", "updated": "2011-04-15T03:34:44.000+0000" }, { "id": "129870", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

duping against #3006

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:45.000+0000", "updated": "2011-04-15T03:34:45.000+0000" }, { "id": "408790", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T06:21:58.000+0000", "updated": "2017-03-03T06:21:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }