{ "id": "99570", "key": "TIMOB-10539", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14981", "description": "2013 Sprint 03 JS", "name": "2013 Sprint 03 JS", "archived": true, "released": true, "releaseDate": "2013-02-11" }, { "id": "14813", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-29T21:48:24.000+0000", "created": "2012-08-21T16:52:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "24081", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106671", "key": "TIMOB-12112", "fields": { "summary": "MobileWeb: Re-architect ScrollView and TableView", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-02-28T06:55:38.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": "When using layout: \"vertical\" on a scrollView, there is a gap above the view added to the scrollView.\r\n\r\nh4. Steps to repro:\r\n1. run the code below\r\n2. notice that there is a gap above the blue box\r\n3. remove the 'layout: \"vertical\",' \r\n4. run the code again\r\n5. notice that the gap above the blue box is gone\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.open();\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n\tcontentHeight: \"auto\",\r\n\tlayout: \"vertical\",\r\n\tbackgroundColor: 'pink'\r\n});\r\nvar view = Ti.UI.createView({\r\n\ttop: 0,\r\n\theight: 40,\r\n\twidth: 40,\r\n\tbackgroundColor: 'blue'\r\n});\r\n\r\nwin.add(scrollView);\r\nscrollView.add(view);\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: scrollView - leaves space at the top when doing vertical layout ", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Broken in: TiSDK v2.2.0.v20120821151712\r\nWorking in: TiSDK v2.2.0.v20120710122120\r\nChrome Version 21.0.1180.79", "comment": { "comments": [ { "id": "232885", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in TIMOB-12112", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-02T18:27:47.000+0000", "updated": "2013-01-02T18:27:47.000+0000" }, { "id": "233040", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reponening since we aren't re-architecting scrollview anymore", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-03T10:42:14.000+0000", "updated": "2013-01-03T10:42:14.000+0000" }, { "id": "236490", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/3817", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T20:30:42.000+0000", "updated": "2013-01-29T20:30:42.000+0000" }, { "id": "240116", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment used for verification -\r\nTitanium SDK: 3.1.0.v20130226024607\r\nTitanium  Studio:3.0.2.201302141201\r\nChrome Version 23.0.1271.101", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-28T06:55:38.000+0000", "updated": "2013-02-28T06:55:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }