{ "id": "61160", "key": "TIMOB-528", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-27T16:49:59.000+0000", "created": "2011-04-15T02:31:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "ios", "iphone", "qe-testadded", "scrollview", "tableview" ], "versions": [], "issuelinks": [ { "id": "19012", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97689", "key": "TIMOB-10049", "fields": { "summary": "Android: ScrollView - Device rotation causes crash on Android", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21114", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "101523", "key": "TIMOB-10992", "fields": { "summary": "Android: ScrollView - Missing scrollable area on Android", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "21841", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102970", "key": "TIMOB-11320", "fields": { "summary": "Android: ScrollView - App crashes on launch", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-09T19:07:54.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}

from community.

\n

code:

\n

var data = [];
\nvar win = Ti.UI.createWindow();

\n

var row =\nTi.UI.createTableViewRow({className:'scrolltab',height:67,backgroundColor:'#fff',selectionStyle:Ti.UI.iPhone.TableViewCellSelectionStyle.NONE});

\n
\nvar scrollView = Titanium.UI.createScrollView({\n    contentWidth:500,\n    contentHeight:50,\n    top:10,\n    height:50,\n    width:230,\n    borderRadius:10,\n    backgroundColor:'#13386c'\n});\nrow.add(scrollView);\nvar view1 = Ti.UI.createView({\n    backgroundColor:'#336699',\n    width:440,\n    height:40,\n    left:10\n});\nscrollView.add(view1);\n// add a bunch more views to the scrollView \n\ndata.push(row);\n\nfeedTableView = Titanium.UI.createTableView({\n    data:data\n});\n\nwin.add(feedTableView);\n
\n

win.open();

{html}", "attachment": [], "flagged": false, "summary": "scroll view inside table view row does not scroll", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123469", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i don't doubt it. :<

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:05.000+0000", "updated": "2011-04-15T02:31:05.000+0000" }, { "id": "123470", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

My main concern about this is one of events trapping. This might\nbe something I don't need to worry about, but it is something that\nmay be an obstacle.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:06.000+0000", "updated": "2011-04-15T02:31:06.000+0000" }, { "id": "123471", "author": { "name": "rob(atrobmarscher)", "key": "rob(atrobmarscher)", "displayName": "rob (at robmarscher)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Same issue seems to occur with a ScrollableView. I noticed while\ntrying to create something like the Trending Now section of the\nTwitter for iPhone app. Thanks for looking into it.

{html}", "updateAuthor": { "name": "rob(atrobmarscher)", "key": "rob(atrobmarscher)", "displayName": "rob (at robmarscher)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:06.000+0000", "updated": "2011-04-15T02:31:06.000+0000" }, { "id": "123472", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

valid, needs testcase

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:07.000+0000", "updated": "2011-04-15T02:31:07.000+0000" }, { "id": "123473", "author": { "name": "rob(atrobmarscher)", "key": "rob(atrobmarscher)", "displayName": "rob (at robmarscher)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I was able to work around the issue by defining an empty\nfunction and assigning it to the click events of the\nscroll/scrollable view and the table row. Seems to override\nwhatever prevents the touch from bubbling down the the inner view.\nI'll post on the community Q&A section.

{html}", "updateAuthor": { "name": "rob(atrobmarscher)", "key": "rob(atrobmarscher)", "displayName": "rob (at robmarscher)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:07.000+0000", "updated": "2011-04-15T02:31:07.000+0000" }, { "id": "123474", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

you can also try touchEnabled: false

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:07.000+0000", "updated": "2011-04-15T02:31:07.000+0000" }, { "id": "160912", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug Scrub: Valid. No test Case exists. \r\nTested by creating my own app.\r\n\r\nTested On:\r\nTiMOB sdk version: 1.7.2\r\nStudio version: 1.0.2\r\nOS Version: Mac OSX Lion\r\nDevice tested On - iPhone 4.3.4\r\n", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-27T16:54:48.000+0000", "updated": "2011-07-27T16:54:48.000+0000" }, { "id": "193032", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "I don't believe this is valid anymore.\r\n\r\nExample code:\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar row = Ti.UI.createTableViewRow({\r\n height: 100\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n contentHeight: 200,\r\n top: 10, bottom: 10,\r\n backgroundColor: '#ccc'\r\n});\r\nscrollView.add(Ti.UI.createView({\r\n backgroundColor: '#336699',\r\n top: 70, height: 100\r\n}));\r\nrow.add(scrollView);\r\n\r\nwin.add(Ti.UI.createTableView({\r\n data: [ row ]\r\n}));\r\nwin.open();\r\n{code}\r\n\r\nTested with\r\n{quote}\r\nversion=2.1.0\r\nmodule_apiversion=2\r\ntimestamp=04/27/12 17:36\r\ngithash=d33ece4\r\n{quote}\r\n\r\nIn iPhone Simulator 5.1. I am able to successfully interact with the scroll view inside of the table view row, and I am able to scroll the table view row. Further, hitting the bounds of the scroll view properly hand off the scroll event to the table view.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-27T15:59:28.000+0000", "updated": "2012-04-27T15:59:28.000+0000" }, { "id": "193043", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue has been fixed somewhere along the line. Marking this bug resolved based on Dawson's testing.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-27T16:49:59.000+0000", "updated": "2012-04-27T16:49:59.000+0000" }, { "id": "197368", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.1.0.v20120605113335 on iPhone 3gs 4.3", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-05T13:26:38.000+0000", "updated": "2012-06-05T13:26:38.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }