{ "id": "131278", "key": "AC-1523", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-06-09T16:30:18.000+0000", "created": "2014-06-05T08:11:30.000+0000", "labels": [ "ios", "iphone" ], "versions": [], "issuelinks": [ { "id": "38212", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "124899", "key": "TIMOB-16218", "fields": { "summary": "iOS: Ti.UI.RefreshControl.beginRefreshing() does not work", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:58.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "how to reproduce: \r\nwhile refreshing if I scroll up a little bit ( to center of refresh icon )\r\nand release ( and tap once if you use simulator ) , \r\nit will not slide back when refeshing is finished. \r\nor\r\npull down until refresh is start but dont release , \r\nthen pull up a little bit ( to center of refresh icon )\r\nand then release ( and tap once if you use simulator )\r\nit will not slide back when refeshing is finished. \r\n\r\n( please see attach image ) \r\n\r\nthis code come from example in this page http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.RefreshControl\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n fullscreen:true\r\n});\r\nvar counter = 0;\r\nfunction genData()\r\n{\r\n var data = [];\r\n var i=1;\r\n for (i=1;i<=30;i++) {\r\n data.push({properties:{title:'ROW '+(counter+i)}})\r\n }\r\n counter += 3;\r\n return data;\r\n}\r\nvar section = Ti.UI.createListSection();\r\nsection.setItems(genData());\r\nvar control = Ti.UI.createRefreshControl({\r\n tintColor:'red'\r\n})\r\nvar listView = Ti.UI.createListView({\r\n sections:[section],\r\n refreshControl:control\r\n});\r\ncontrol.addEventListener('refreshstart',function(e){\r\n Ti.API.info('refreshstart');\r\n setTimeout(function(){\r\n Ti.API.debug('Timeout');\r\n section.appendItems(genData());\r\n control.endRefreshing();\r\n }, 2000);\r\n})\r\nwin.add(listView);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "48638", "filename": "refresh-control-bug.gif", "author": { "name": "vivizth", "key": "vivizth", "displayName": "viviz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-05T08:11:30.000+0000", "size": 222040, "mimeType": "image/gif" } ], "flagged": false, "summary": "[iOs] Pull to refresh dont slide up back", "creator": { "name": "vivizth", "key": "vivizth", "displayName": "viviz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vivizth", "key": "vivizth", "displayName": "viviz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Osx maverick 10.9.3\r\nTitanium sdk 3.2.3 GA , CLI version 3.2.3\r\nplatform: ios7.1 \r\ndevice: iphone retina 3.5 inch (simulator)", "comment": { "comments": [ { "id": "308012", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a duplicate of TIMOB-16218. Please watch TIMOB-16218 for latest updates. Also, you can try the workaround for now that is added in the comment to solve this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-09T16:29:44.000+0000", "updated": "2014-06-09T16:29:44.000+0000" }, { "id": "308192", "author": { "name": "vivizth", "key": "vivizth", "displayName": "viviz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you :)", "updateAuthor": { "name": "vivizth", "key": "vivizth", "displayName": "viviz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-10T03:30:32.000+0000", "updated": "2014-06-10T03:30:32.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }