{ "id": "64045", "key": "TIMOB-3413", "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": "11333", "description": "Mobile 1.8.0 M01", "name": "Sprint 2011-22", "archived": true, "released": true, "releaseDate": "2011-06-06" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-06-03T17:30:58.000+0000", "created": "2011-04-15T03:44:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:20:32.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 changing orientation from landscape while a webView is\r\ninside a ScrollableView, the webView doesn't resize when returning\r\nto Portrait.
\r\nSample code below. Change orientation scroll through a few,\r\nchange back to Portrait. You might have to change orientation 2-3\r\ntimes to see the effect.
\r\n\r\nvar win = Titanium.UI.currentWindow;\r\n\r\nvar views = [];\r\n\r\nfor(var i = 0; i < 25; i++) {\r\n views.push(Ti.UI.createWebView({\r\n html: '<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>',\r\n left: 20,\r\n right: 20,\r\n backgroundColor: '#eee'\r\n }));\r\n}\r\n\r\nvar sv = Ti.UI.createScrollableView({\r\n left: 20,\r\n right: 20,\r\n top: 20,\r\n clipViews: false,\r\n views: views \r\n});\r\n\r\nwin.add(sv);
\r\n
Another Ticker Reference: http://developer.appcelerator.com/helpdesk/view/76610
This has become a high priority issue for LA Time shipping.\nLet's look at this as soon as we get the memory fixes in.
Out of curiosity, when should we mention \nhttps://developer.apple.com/library/ios/#documentation/UIKit/Refere...\n, where Apple says:
\n\nImportant: You should not embed UIWebView or UITableView objects in UIScrollView objects. If you do so, unexpected behavior can result because touch events for the two objects can be mixed up and wrongly handled.
\n
\nShould this at least be in our docs about voiding the warranty,\nso to speak?
I let the customer know about this from the beginning when we\ngot the requirements from their client. There are a lot of examples\nof apps not following this out in the app store (i.e. CNN has a\nscrollview with webviews inside) - so from their perspective this\nlighthouse ticket / issue should still be fixable.