{ "id": "107090", "key": "TIMOB-12153", "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": "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:11.000+0000", "created": "2012-12-26T19:57:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "exalture", "qe-6.3.0", "scrollview", "supportTeam" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-20T17:32: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Run the below code snippet to see scrollview with a tableview inside not scrolling if contentHeight is set to 'auto'. It works fine if it is set to 500 or 1000. But works fine in ios with 'auto'.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'gray',\r\n layout:'vertical'\r\n});\r\n\r\nvar someLabel = Ti.UI.createLabel({\r\n text: 'some content'\r\n})\r\n\r\nwin.add(someLabel);\r\n\r\nvar testArray = new Array('1','2','3','4','5','6','7','8','9','10');\r\n\r\nvar cardScrollView = Ti.UI.createScrollView({\r\n layout:'vertical',\r\n contentHeight:'auto', // 500 or 1000 works\r\n contentWidth:'auto',\r\n height: '100%',\r\n width:'100%',\r\n top:0,\r\n scrollType:'vertical'\r\n});\r\n\r\ncardScrollView.addEventListener('scroll', function(e){\r\n \r\n Ti.API.info('Scroll called from scrollview'); \r\n});\r\nvar table_view = Ti.UI.createTableView({\r\n //top: 350,\r\n id: 'mytable',\r\n scrollable: false,\r\n touchEnabled:false,\r\n className: \"row\",\r\n backgroundColor:'white',\r\n separatorColor:'black',\r\n height: Ti.UI.SIZE\r\n});\r\n\r\ntable_view.addEventListener('scroll', function(e){\r\n \r\n Ti.API.info('Scroll called from tableview'); \r\n});\r\nvar data = [];\r\nfor(var i=0;i