{ "id": "91434", "key": "TIMOB-9039", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-03-19T08:54:15.000+0000", "created": "2012-05-06T22:48:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:39:53.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Reproduction steps:\r\n\r\n* Create an application that uses a web view.\r\n* Include a hidden iFrame in the HTML code (
) with other content that extends beyond the bottom of the page.\r\n* The page should scroll with touch/swipe upwards.\r\n* When deployed on Android, the page will not scroll.\r\n* Unhide the iFrame, or remove the iFrame and the page scrolls as expected.\r\n\r\nExample code (project/test case attached)\r\n\r\n{code:title=ApplicationWindow.js|borderStyle=solid}\r\n//Application Window Component Constructor\r\nvar myWebView;\r\n\r\nfunction ApplicationWindow() {\r\n\t//load component dependencies\r\n//\tvar FirstView = require('ui/FirstView');\r\n\t\t\r\n\t//create component instance\r\n\tvar self = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'#ffffff',\r\n\t\tnavBarHidden:true,\r\n\t\texitOnClose:true,\r\n\t\twidth: 320,\r\n\t\theight: 480,\r\n\t\tmodal: true\r\n\t});\r\n\r\n\t// Create the webview\r\n\tmyWebView = Ti.UI.createWebView();\r\n//\tmyWebView.willHandleTouches = false;\r\n\tself.add(myWebView);\t//construct UI\r\n\r\n\tvar html = '' +\r\n'' +\r\n'' +\r\n \r\n' ' +\r\n' Demo Page' +\r\n\r\n' ' +\r\n'' +\r\n'' +\r\n'

Dynamic HTML

' +\r\n'

Example of iFrame Error - Android' + \r\n' ' +\r\n' ' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'
Text - should scroll
' +\r\n'' +\r\n'';\r\n\r\n\r\n\tmyWebView.setHtml(html);\r\n\r\n\treturn self;\r\n\t\r\n}\r\n\r\n\r\n\r\n//make constructor function the public component interface\r\nmodule.exports = ApplicationWindow;\r\n{code} \r\n\r\n", "attachment": [ { "id": "27548", "filename": "Android Error Demo 2.zip", "author": { "name": "robbielepommie", "key": "robbielepommie", "displayName": "Robert Spriggs", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-06T22:48:03.000+0000", "size": 3126653, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Having an hidden iFrame in WebView HTML prevents scrolling on Android ", "creator": { "name": "robbielepommie", "key": "robbielepommie", "displayName": "Robert Spriggs", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "robbielepommie", "key": "robbielepommie", "displayName": "Robert Spriggs", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 2.0.1.201204132053\r\n(c) Copyright 2012 by Appcelerator, Inc. All rights reserved.\r\n\r\nBuild: jenkins-titanium-rcp-master-185 (origin/master)\r\nDate: 13 April 2012, 20:56:05\r\n", "comment": { "comments": [ { "id": "193923", "author": { "name": "robbielepommie", "key": "robbielepommie", "displayName": "Robert Spriggs", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just to clarify the example above, setting \"height\" and \"modal\" from the createWindow should be removed from the test case above. They don't change anything and were just a multitude of things being tried to make it work.", "updateAuthor": { "name": "robbielepommie", "key": "robbielepommie", "displayName": "Robert Spriggs", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-06T23:07:35.000+0000", "updated": "2012-05-06T23:07:35.000+0000" }, { "id": "242869", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n\r\njithinpv\r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T08:54:15.000+0000", "updated": "2013-03-19T08:54:15.000+0000" }, { "id": "413571", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:39:53.000+0000", "updated": "2017-03-17T18:39:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }