{ "id": "100197", "key": "TIMOB-10723", "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": "14161", "description": "Release 3.0.1", "name": "Release 3.0.1", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14789", "description": "2012 Sprint 26 JS", "name": "2012 Sprint 26 JS", "archived": true, "released": true, "releaseDate": "2012-12-31" }, { "id": "14786", "description": "2012 Sprint 26", "name": "2012 Sprint 26", "archived": true, "released": true, "releaseDate": "2012-12-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-08T14:31:03.000+0000", "created": "2012-08-30T10:19:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity", "qe-port" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "20463", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "92902", "key": "TIMOB-9423", "fields": { "summary": "Android: Scrollable view \"addView\" method not working", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-26T02:08:18.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Using the same code from the original bug, the scrollable view locks up on Mobile Web (won't scroll).\r\n\r\nI thought it was because it was placed in a table view row, but actually commenting out the call to {{addView}}\r\nfixes the problem. This works in iOS (and as of 2.1.2, in Android as well).\r\n\r\nh4. Repo Steps\r\n1. Run the below code in your app.js\r\n2. You can't see the yellow view added to the scrollable view. \r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nvar table = Titanium.UI.createTableView();\r\nwin.add(table);\r\nvar row = Titanium.UI.createTableViewRow();\r\ntable.appendRow(row);\r\n \r\nvar view1 = Ti.UI.createView({ backgroundColor:'red' });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'green' });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'blue' });\r\n \r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n showPagingControl:true,\r\n height: 200\r\n});\r\nvar view4 = Ti.UI.createView({backgroundColor:'yellow'});\r\nscrollableView.addView(view4);\r\nrow.add(scrollableView);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: Scrollable view \"addView\" method not working", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.1.GA / Master\r\nChrome browser", "comment": { "comments": [ { "id": "218486", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Verified this is indeed a valid bug. :(", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-09-11T18:03:44.000+0000", "updated": "2012-09-11T18:03:44.000+0000" }, { "id": "230788", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/3569", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T02:11:07.000+0000", "updated": "2012-12-11T02:11:07.000+0000" }, { "id": "231703", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3611", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-17T19:49:40.000+0000", "updated": "2012-12-17T19:49:40.000+0000" }, { "id": "236101", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\nTested and verified fix with:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130125144710\nChrome 23.0\niPhone5 6.0\nNexus4 4.2\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-26T02:08:09.000+0000", "updated": "2013-01-26T02:08:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }