{ "id": "90923", "key": "TIMOB-8898", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-11T23:57:22.000+0000", "created": "2012-04-26T11:18:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "core", "scrollview" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "16869", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90431", "key": "TIMOB-8775", "fields": { "summary": "iOS: ScrollView does not scroll if contentHeight and contentWidth are not provided", "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 } } } }, { "id": "17510", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92294", "key": "TIMOB-9226", "fields": { "summary": "Android: Review composite layout feature requests", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-23T21:27:09.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\n \r\nvar scrollView = Ti.UI.createScrollView({\r\n top:10,\r\n left:5,\r\n layout:'vertical',\r\n scrollType: 'vertical',\r\n contentHeight:Ti.UI.FILL\r\n // contentWidth:'auto'\r\n});\r\n \r\nvar things = [\r\n 'item1',\r\n 'item2',\r\n 'item3',\r\n 'item4',\r\n 'item5',\r\n 'item6' ];\r\n \r\nfor (var i = 0; i < things.length; i++) {\r\n \r\n var view = Ti.UI.createView({\r\n height: 140,\r\n width: 90,\r\n top: 10,\r\n left: 10,\r\n backgroundColor: '#CCC'\r\n });\r\n \r\n scrollView.add(view);\r\n \r\n};\r\n \r\nwin.add(scrollView);\r\n \r\nwin.open();\r\n{code}\r\n\r\nExpected results:\r\nThe contentHeight should be the size of the scroll view (which prevents it from scrolling)\r\n\r\nActual results:\r\nThe contentHeight follows SIZE behavior and is scrollable since the children's height is bigger than the scroll view height", "attachment": [], "flagged": false, "summary": "Android: Support FILL behavior on contentWidth/contentHeight property of scroll view", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 951, "state": "closed", "name": "2017 Sprint 20 SDK", "startDate": "2017-09-24T17:50:18.277Z", "endDate": "2017-10-08T17:50:00.000Z", "completeDate": "2017-10-09T20:38:07.840Z", "originBoardId": 114 }, { "id": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "240459", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Its an invalid problem,because it questioning 'scrollbar' function which created for scrolling purpose.So it will function when it contains children more than its size.It seems that its a problem of beyond logic.", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-02T14:49:24.000+0000", "updated": "2013-03-02T14:49:24.000+0000" }, { "id": "414965", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:12:58.000+0000", "updated": "2017-03-22T21:12:58.000+0000" }, { "id": "428710", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening since this is a legit issue.\r\n\r\nScrollView \"contentWidth\" and \"contentHeight\" properties do not currently support Ti.UI.FILL or Ti.UI.SIZE on Android.\r\n\r\nSetting the priority to \"Low\" since supporting Ti.UI.FILL isn't practical because it would make the ScrollView unscrollable.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-04T19:03:37.000+0000", "updated": "2017-10-04T19:05:48.000+0000" }, { "id": "428857", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9513", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-09T21:21:51.000+0000", "updated": "2017-10-09T21:21:51.000+0000" }, { "id": "428901", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for master.\r\nWaiting for backport.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-10T19:24:16.000+0000", "updated": "2017-10-10T19:24:16.000+0000" }, { "id": "428987", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (6.3.x): https://github.com/appcelerator/titanium_mobile/pull/9521", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-11T23:27:57.000+0000", "updated": "2017-10-11T23:27:57.000+0000" }, { "id": "428994", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for backport. PR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-11T23:55:33.000+0000", "updated": "2017-10-11T23:55:33.000+0000" }, { "id": "429460", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.0.0.v20171023120246 & 6.3.0.v20171018084007.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.10-2\r\nAppc CLI: 6.3.0-master.15\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.10.6\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 — Android 6.0.1\r\n⇨ google Pixel — Android 7.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-23T21:27:03.000+0000", "updated": "2017-10-23T21:27:03.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }