{ "id": "63339", "key": "TIMOB-2707", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-26T14:31:50.000+0000", "created": "2011-04-15T03:27:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19322", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T21:12:59.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": "{html}

Create a Window, add a tableView and a row with a webView within\nit. The behaviour is very strange, as soon as you you scroll it\ndisappears. Here is the code:

\n

var win = Titanium.UI.createWindow();
\nvar defnWebView;
\nvar table;
\nvar defnRow;
\nvar data = [];
\ndata[0] = Titanium.UI.createTableViewSection();
\ndefnRow = Titanium.UI.createTableViewRow({

\n
\nheight:'auto', className:'wev'\n
\n

});

\n

defnWebView = Titanium.UI.createWebView({

\n
\nheight:'auto',\nhtml:\"<html><body style='font-size:12px;'><div id='content'><p><span style=\\\"font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;\\\"><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span></p>\\r\\n<p><span style=\\\"font-family: Arial, Helvetica, sans; font-size: 11px; line-height: 14px;\\\"><strong>Lorem Ipsum</strong>&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.<br /></span></p></div></body></html>\",\nborderRadius:8,\nscalesPageToFit : false\n
\n

});

\n

defnRow.add(defnWebView);
\ndata[0].add(defnRow);
\ntable = Titanium.UI.createTableView({ top:0, left:0, bottom:0,\nright:0,

\n
\n    data:data,\n    style:Titanium.UI.iPhone.TableViewStyle.GROUPED\n
\n

}); win.add(table);
\nwin.open();

\n

Here you have a longer project https://gist.github.com/758489

{html}", "attachment": [], "flagged": false, "summary": "Add a webview to a tableView (1.5.1.) behaves rare or doesn't work (Iphone).", "creator": { "name": "félix", "key": "félix", "displayName": "Félix", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "félix", "key": "félix", "displayName": "Félix", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209875", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can't reproduce in SDK 2.2.0.014b86f, iPhone Sim 5.1.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T14:31:50.000+0000", "updated": "2012-07-26T14:31:50.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }