{ "id": "170346", "key": "AC-5380", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-11-16T18:02:46.000+0000", "created": "2017-11-16T16:10:51.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-16T18:02:46.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I try to scroll the scrollView programatically the app crashes.(iOS and Android)\r\nSample: \r\n{code:java}\r\n$.scrollView.scrollTo(0, 400, false);\r\n{code}\r\nThe iOS crashlog:\r\n\r\n{noformat}\r\n[ERROR] : Script Error {\r\n[ERROR] : column = 37;\r\n[ERROR] : line = 58;\r\n[ERROR] : message = \"Invalid type passed to function\";\r\n[ERROR] : nativeLocation = \"-[TiUIScrollViewProxy scrollTo:] (TiUIScrollViewProxy.m:347)\";\r\n[ERROR] : nativeReason = \"expected: Object, was: Number\";\r\n...\r\n[ERROR] : }\r\n{noformat}", "attachment": [ { "id": "63614", "filename": "diagnostic log.txt", "author": { "name": "dillichmann", "key": "dillichmann", "displayName": "David Illichmann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T16:08:07.000+0000", "size": 199546, "mimeType": "text/plain" } ], "flagged": false, "summary": "scrollTo for scrollView doesn't work", "creator": { "name": "dillichmann", "key": "dillichmann", "displayName": "David Illichmann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dillichmann", "key": "dillichmann", "displayName": "David Illichmann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "430838", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The third parameter is a dictionary, e.g. \"{animated: false}\", but you were passing a boolean (represented as an NSNumber in the obj-c bridge). Change the third parameter to the above and it will work.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-16T18:02:46.000+0000", "updated": "2017-11-16T18:02:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }