{ "id": "91174", "key": "AC-3026", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-14T15:16:58.000+0000", "created": "2012-05-01T21:08:44.000+0000", "labels": [ "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:48:03.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Note this issue works in the 2.0.1GA2 release but is broken in more recent CI builds.\r\n\r\nIf you put a webview inside a scrollview the webviews natural scrolling doesn't work. \r\n\r\nTest code:\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\n\r\n\t innerView = Ti.UI.createScrollView({\r\n\t\tlayout:'vertical',\r\n\t\ttop:0,\r\n\t\theight:250,\r\n\t\tbackgroundColor:'white',\r\n\t\twidth:'100%'\r\n\t\t});\r\n\r\n\tmHtml=\"xtest

test2

test

test

test5

test

test

test

test

testxxxx

test

test2

test

test

test5

test

test

test

test

testxxxx

\";\r\n\t\tvar wView = Ti.UI.createWebView({\r\n\t\t\t\twidth:280,\r\n\t\t\t\theight:Ti.UI.SIZE,\r\n\t\t\t\thtml: mHtml\r\n\t\t});\r\n\tinnerView.add(wView);\r\n\twin1.add(innerView);\r\n", "attachment": [], "flagged": false, "summary": "Webview inside ScrollView breaks scrolling Android 2.1.x", "creator": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android (all)\r\nMobile SDK 2.1.x (CI builds)", "comment": { "comments": [ { "id": "193522", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "In general, we don't recommend to put a scrollable view inside other scrollable view. \r\n\r\nThe recommendation is create a view that encloses the webview, like a tab. Then you should be able to scroll with the scrollview via the view and scroll the webview inside the view. \r\n\r\nBest,\r\n\r\nMauro", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-05-02T18:10:18.000+0000", "updated": "2012-05-02T18:10:18.000+0000" }, { "id": "194735", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Unsupported behavior. Not put a scrollable event inside an scrollview. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-05-14T15:16:58.000+0000", "updated": "2012-05-14T15:16:58.000+0000" }, { "id": "286108", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing since we have not heard from the reporter even after we posted some recommendations.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-28T09:28:09.000+0000", "updated": "2013-12-28T09:28:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }