{ "id": "150841", "key": "TIMOB-19438", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-31T22:59:52.000+0000", "created": "2015-08-31T09:28:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "48835", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150000", "key": "TIMOB-19286", "fields": { "summary": "Windows: Test Movies sample", "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": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:58:41.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "{{ScrollView.contentOffset}} doesn't work.\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'blue' });\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n showVerticalScrollIndicator: true,\r\n showHorizontalScrollIndicator: true,\r\n height: '100%',\r\n width: '100%',\r\n contentHeight: 1000\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: 185, height: 185,\r\n top: 100\r\n});\r\nvar imageview1 = Ti.UI.createImageView({\r\n image: 'http://image.tmdb.org/t/p/w780//3FweBee0xZoY77uO1bhUOlQorNH.jpg',\r\n top: -20, left: -185,\r\n width: 555, height: 312\r\n});\r\nview1.add(imageview1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: 185, height: 185,\r\n top: 550\r\n});\r\nvar imageview2 = Ti.UI.createImageView({\r\n image: 'http://image.tmdb.org/t/p/w780//oYZtd7Md78HuzBvT5dlJlHWc89O.jpg',\r\n top: -20, left: -185,\r\n width: 555, height: 312\r\n});\r\nview2.add(imageview2);\r\n\r\nscrollView.add(view1);\r\nscrollView.add(view2);\r\n\r\nscrollView.contentOffset = { x: 0, y: 100 };\r\n\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: ScrollView contentOffset doesn't work", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 484, "state": "closed", "name": "2015 Sprint 18 Windows", "startDate": "2015-08-30T04:01:00.000Z", "endDate": "2015-09-12T03:59:00.000Z", "completeDate": "2015-09-14T17:29:28.792Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "361843", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/422", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-31T22:59:46.000+0000", "updated": "2015-08-31T22:59:46.000+0000" }, { "id": "413231", "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-16T21:58:41.000+0000", "updated": "2017-03-16T21:58:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }