{ "id": "151911", "key": "TIMOB-19741", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-28T20:33:58.000+0000", "created": "2015-10-09T16:42:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-25T18:13: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": "Hi,\r\n\r\nif you have webViews with html content within a scrollableView, they will disappear when you scroll through the scrollableView. CacheSize of scrollableView does not have any impact to this issue.\r\n\r\nYou can easily reproduce this issue:\r\n1. Create a scrollableView\r\n2. Create 10 Views with a webView in it (put some html into the webview)\r\n3. Put the views into the scrollableView\r\n4. Scroll forward and then backward through the scrollableView\r\n\r\n5.0.0.GA / 5.0.1.GA / 5.0.2.GA, iOS9, xcode 7.0.1\r\n\r\n", "attachment": [ { "id": "57039", "filename": "testcase.zip", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-16T08:10:04.000+0000", "size": 10293487, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: webViews within a scrollableView disappear", "creator": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "5.0.0.GA / 5.0.1.GA / 5.0.2.GA, iOS9, xcode 7.0.1", "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "366388", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you set the HTML to the webView AFTER the Window opened it works. Maybe this helps you to find the bug.", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-09T17:36:48.000+0000", "updated": "2015-10-09T17:36:48.000+0000" }, { "id": "366990", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "find attached a full titanium project. The whole code is in the app.js.\r\nJust run it in an iOS9 iPad Air2 Simulator - scroll all 10 views forward, and then scroll some views backward - you will see that at some point the webviews will be empty.", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-16T08:10:45.000+0000", "updated": "2015-10-16T08:10:45.000+0000" }, { "id": "367272", "author": { "name": "ThibZ", "key": "thibz", "displayName": "Thibault Lenclos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I also found this bug since SDK 4.1.1, not happening in 3.5.1.\r\n\r\nIt seems that the html property of the webview is lost when it goes in the cache.\r\nSee this minimalist code to reproduce the issue:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar views = [];\r\nfor (var i=0; i<5; i++) {\r\n views.push(Ti.UI.createWebView({ url: \"