{ "id": "79401", "key": "TIMOB-5674", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-08-19T03:00:30.000+0000", "created": "2011-08-18T01:25:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "akulinich", "key": "akulinich", "displayName": "Andrew Kulinich", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T19:20:15.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": [], "description": "Incorrect work of value height = 'auto' in tableViewRow. Browser cuts content of the tableViewRow when resizing.\r\nExample: \r\n{code:JavaScript}\r\nvar data = [];\r\n\r\ndata[0] = Ti.UI.createTableViewRow({hasChild:true,height:'auto'});\r\ndata[1] = Ti.UI.createTableViewRow({hasDetail:true,height:'auto'});\r\ndata[2] = Ti.UI.createTableViewRow({hasCheck:true,height:'auto'});\r\n\r\nfunction addRow(idx,text)\r\n{\r\n\tdata[idx].add(Ti.UI.createLabel({\r\n\t\ttext:text,\r\n\t\theight:'auto',\r\n\t\twidth:'auto',\r\n\t\tleft:10,\r\n\t\tright:50,\r\n\t\ttop:10,\r\n\t\tbottom:10\r\n\t}));\r\n}\r\n\r\naddRow(0,'There should be 18 sentences: 1. This is some long text. 2. This is some long text. 3. This is some long text. 4. This is some long text. 5. This is some long text. 6. This is some long text. 7. This is some long text. 8. This is some long text. 9. This is some long text. 10. This is some long text. 11. This is some long text. 12. This is some long text. 13. This is some long text. 14. This is some long text. 15. This is some long text. 16. This is some long text. 17. This is some long text. 18. This is some long text.');\r\naddRow(1,'There should be 4 sentences: 1. This is some long text. 2. This is some long text. 3. This is some long text. 4. This is some long text.');\r\naddRow(2,'There should be 18 sentences: 1. This is some long text. 2. This is some long text. 3. This is some long text. 4. This is some long text. 5. This is some long text. 6. This is some long text. 7. This is some long text. 8. This is some long text. 9. This is some long text. 10. This is some long text. 11. This is some long text. 12. This is some long text. 13. This is some long text. 14. This is some long text. 15. This is some long text. 16. This is some long text. 17. This is some long text. 18. This is some long text.');\r\n\r\n\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata:data,\r\n\tminRowHeight:80\r\n});\r\n\r\n// create table view event listener\r\ntableview.addEventListener('click', function(e)\r\n{\r\n\t// event data\r\n\tvar index = e.index;\r\n\tvar section = e.section;\r\n\tvar row = e.row;\r\n\tvar rowdata = e.rowData;\r\n\tTitanium.UI.createAlertDialog({title:'Table View',message:'row ' + row + ' index ' + index + ' section ' + section + ' row data ' + rowdata}).show();\r\n});\r\n\r\n// add table view to the window\r\nTitanium.UI.currentWindow.add(tableview);\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: Incorrect work of value height = 'auto' in tableViewRow", "creator": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "subtasks": [], "reporter": { "name": "mvasko", "key": "mvasko", "displayName": "Misha Vasko", "active": true, "timeZone": "Europe/Kiev" }, "environment": null, "comment": { "comments": [ { "id": "411322", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T19:20:15.000+0000", "updated": "2017-03-10T19:20:15.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }