{ "id": "107733", "key": "TIMOB-13389", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-05-22T21:00:34.000+0000", "created": "2013-01-11T06:32:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "linvalid" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:34.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "*Problem description*\r\nMethod Titanium.UI.ScrollView.scrollTo throws exception:\r\n\r\n{code}\"TypeError: Object [object Window] has no method '_setTranslation'\".{code}\r\n\r\n*Test case*\r\n{code}var win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\texitOnClose : true,\r\n\tfullscreen : false,\r\n\ttitle : 'ScrollView Demo'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n\tcontentWidth : 'auto',\r\n\tcontentHeight : 'auto',\r\n\tshowVerticalScrollIndicator : true,\r\n\tshowHorizontalScrollIndicator : true,\r\n\theight : '80%',\r\n\twidth : '80%'\r\n});\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor : '#336699',\r\n\tborderRadius : 10,\r\n\ttop : 10,\r\n\theight : 2000,\r\n\twidth : 1000\r\n});\r\nscrollView.add(view);\r\nwin.add(scrollView);\r\nwin.open();\r\n\r\nscrollView.scrollTo(0, 0); //TypeError: Object [object Window] has no method '_setTranslation'{code}", "attachment": [], "flagged": false, "summary": "Mobile Web: Exception in Titanium.UI.ScrollView.scrollTo", "creator": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "MS Windows, Titanium Studio 3.0.0.201211202053, SDK 3.0.0, 3.0.2, Chrome simulator or a Webkit mobile browser", "comment": { "comments": [ { "id": "420151", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as we no longer support MobileWeb at this time.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-22T21:00:34.000+0000", "updated": "2017-05-22T21:00:34.000+0000" }, { "id": "436424", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:34.000+0000", "updated": "2018-04-04T23:20:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }