{ "id": "63395", "key": "TIMOB-2763", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "6", "description": "", "name": "Hold" }, "resolutiondate": "2011-04-15T03:28:57.000+0000", "created": "2011-04-15T03:28:56.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "apple", "bug", "defect", "ios", "reported-1.5.1", "scrollview", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-07T19:41:51.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}
When a webView, added to a scrollview, changes orientation there\nis a lot of extra padding added to the inside of the webView.\nVerified on 1.5.1
\nOriginal Ticket: http://developer.appcelerator.com/helpdesk/view/63311
This is an Apple issue. Namely, the only we we can divine height\nneeded by the web page is evaluating \"document.height\" in the\nUIWebView. The problem is that document.height reports the maximum\nof the visible height of the web view or the maximum height needed\nby the document.
\nIn other words, if the document requires 300 pixels and the\nwebview is 200 pixels tall, 'auto' reports 300 pixels, the height\nof the document. HOWEVER, if the webview is 400 pixels tall, and\nthe document requires 300 pixels, 'auto' will report 400\npixels.
\nThere's not much we can do about it, beyond to advise to not\nrely on auto.