{ "id": "160433", "key": "TIMOB-23436", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-20T22:18:08.000+0000", "created": "2016-05-23T16:30:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "defect", "ios" ], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [ { "id": "55996", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "169878", "key": "TIMOB-25337", "fields": { "summary": "iOS: Custom ListItem does not respect default row-height of 43px, sizing instead (regression)", "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": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-24T09:41:06.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:javascript}\r\nvar loadData = function(e) {\r\n\t\t\tvar listItems = [];\r\n\t\t\t\tfor (var i = 0; i < 100; i++) {\r\n\t\t\t\t\tlistItems.push({\t\t\t\t\t\r\n\t\t\t\t\t\timgVideo : {image : \"/images/Default.png\"}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\t$.listView.sections[0].appendItems(listItems);\r\n\r\n};\r\n\r\nloadData();\r\n$.index.open();\r\n{code}\r\n\r\nI am creating listing in listview and its working fine in android as expected.\r\n\r\nWhen I run iOS, it shows misbehaviour in rendering listview. it shows only one view bigger as same as given height and others are renders smaller with equal height.\r\n\r\nwhen I scroll down it maximise view once to given height one by one which is scrolling currently.\r\n\r\nIt should be remain same when It maximised but when I scroll in reverse direction then it shows all scrolled control with same size again.\r\n\r\nwhen I click at any row then it expand to given height but after scroll out of the screen it fixed to default height.\r\n\r\nI used inbuilt image. ", "attachment": [ { "id": "59364", "filename": "Listview.swf", "author": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-05-23T16:27:18.000+0000", "size": 9654148, "mimeType": "application/x-shockwave-flash" }, { "id": "59366", "filename": "Screen Shot 2016-05-23 at 9.35.44 PM.png", "author": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-05-23T16:17:29.000+0000", "size": 237474, "mimeType": "image/png" }, { "id": "59365", "filename": "Simulator Screen Shot 23-May-2016, 9.39.48 PM.png", "author": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-05-23T16:17:32.000+0000", "size": 718762, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: ListView Control's height not setting correctly", "creator": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.4\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.2\r\n npm Version = 2.15.0\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.3.0.v20160513184909 & 5.2.2GA\r\n SDK Path = /Users/chhatbargaurang/Library/Application Support/Titanium/mobilesdk/osx/5.3.0.v20160513184909\r\n Target Platform = android & iphone", "comment": { "comments": [ { "id": "387531", "author": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hello All, is any update available in next week for this issue?", "updateAuthor": { "name": "chhatbargaurang", "key": "chhatbargaurang", "displayName": "Gaurang Chhatbar", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2016-06-03T18:29:06.000+0000", "updated": "2016-06-03T18:29:06.000+0000" }, { "id": "416827", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test Case : \r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar myTemplate = {\r\n childTemplates: [{\r\n type: 'Ti.UI.ImageView',\r\n bindId: 'pic',\r\n properties: {\r\n height: 600,\r\n width:900\r\n }\r\n }]\r\n};\r\n\r\nvar list = Ti.UI.createListView({\r\n templates:{'template':myTemplate},\r\n defaultItemTemplate: 'template',\r\n});\r\nvar sections = [];\r\nvar imgSection = Ti.UI.createListSection({headerTitle:'Test Image Template'});\r\nvar listItems = [];\r\nfor (var i = 0; i < 5; i++) {\r\n listItems.push({pic:\r\n {image : 'image.JPG'}\r\n });\r\n}\r\nimgSection.setItems(listItems);\r\nsections.push(imgSection);\r\nlist.setSections(sections);\r\nwin.add(list);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-05T09:27:25.000+0000", "updated": "2017-04-05T09:28:07.000+0000" }, { "id": "416898", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8937", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-06T03:06:02.000+0000", "updated": "2017-04-06T08:08:33.000+0000" }, { "id": "426285", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version 6.2.0.v20170808135421 and SDK Version 7.0.0.v20170808071205.\r\n\r\nTest and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8937", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-08T21:45:24.000+0000", "updated": "2017-08-08T21:45:24.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }