{ "id": "91104", "key": "TIMOB-8937", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "13503", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 API", "archived": true, "released": true, "releaseDate": "2012-07-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-21T05:40:30.000+0000", "created": "2012-04-30T17:51:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_scrollview", "qe-review", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "20268", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "81181", "key": "TIMOB-5455", "fields": { "summary": "iOS: View loses focus during touchmove event", "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 } } } }, { "id": "19457", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "89754", "key": "TIMOB-8651", "fields": { "summary": "iOS: Ability to disable scrolling in a ScrollView", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-21T05:40:30.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": "It has been requested to add a new property to enable/disable scroll in a scrollview just like it is in a tableview.\r\n\r\nThe following change could work (provided by the customer): \r\n\r\nIn the TiUIScrollView.m add the following code:\r\n\r\n{noformat}\r\n\r\n-(void)setScrollable_:(id)args\r\n{\r\n[[self scrollView] setScrollEnabled:[TiUtils boolValue:args def:YES]];\r\n}\r\n\r\n{noformat}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Feature to add the scroll enable/disable property to a scrollview", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Platform OS: iOS\r\nTitanium SDK: 2.0.1 GA2\r\n", "comment": { "comments": [ { "id": "200477", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please make sure that this property is available on all platforms before resolving this ticket.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T18:55:12.000+0000", "updated": "2012-06-26T18:55:12.000+0000" }, { "id": "202092", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n \r\nvar sv = Ti.UI.createScrollView({\r\n\twidth:100,\r\n\theight:200,\r\n\tcontentWidth:'auto',\r\n\tcontentHeight:'auto',\r\n\tborderColor:'green',\r\n\tborderWidth:1\r\n})\r\n\r\nfor (var i=0;i<40;i++){\r\n\tvar top = 40*i;\r\n\tvar v = Ti.UI.createLabel({\r\n\t\tbackgroundColor:'white',\r\n\t\twidth:100,\r\n\t\theight:40,\r\n\t\ttop:top,\r\n\t\ttext:'Label '+i,\r\n\t\ttextAlign:Ti.UI.TEXT_ALIGNMENT_CENTER\r\n\t})\r\n\tsv.add(v);\r\n}\r\n\r\nwin.add(sv);\r\n\r\nvar b1 = Ti.UI.createButton({\r\n\theight:40,\r\n\tleft:0,\r\n\tbottom:0,\r\n\ttitle:'Scrolling Enabled?'\r\n})\r\n\r\nvar b2 = Ti.UI.createButton({\r\n\theight:40,\r\n\tright:0,\r\n\tbottom:0,\r\n\ttitle:'Toggle'\r\n})\r\n\r\nb1.addEventListener('click',function(e){\r\n\tif(sv.scrollingEnabled){\r\n\t\talert('TRUE');\r\n\t}\r\n\telse {\r\n\t\talert('FALSE');\t\r\n\t}\r\n})\r\n\r\n\r\nb2.addEventListener('click',function(e){\r\n\tsv.scrollingEnabled = !sv.scrollingEnabled;\r\n})\r\n\r\nwin.add(b1);\r\nwin.add(b2);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-09T10:13:23.000+0000", "updated": "2012-07-09T10:13:23.000+0000" }, { "id": "202119", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2518", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-09T11:37:27.000+0000", "updated": "2012-07-09T11:37:27.000+0000" }, { "id": "213787", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with \r\nmobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T10:41:56.000+0000", "updated": "2012-08-10T10:41:56.000+0000" }, { "id": "217374", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-04T03:53:42.000+0000", "updated": "2012-09-04T03:53:42.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }