{ "id": "93513", "key": "TIMOB-9652", "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": "13503", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 API", "archived": true, "released": true, "releaseDate": "2012-07-13" }, { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "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-07-09T15:03:25.000+0000", "created": "2012-06-19T17:56:41.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "MobileWeb", "api", "qe-testadded", "release-note" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-13T22:33:37.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": "ScrollView does not scroll when contentHeight is changed\r\n\r\nh4. Steps to repro:\r\n0. Run the code below\r\n1. Click the button\r\n2. Scroll the view (you can't scroll to the bottom)\r\n\r\n{code:title}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.open();\r\n\r\n\r\nvar scrollView = Titanium.UI.createScrollView({\r\n\tcontentWidth:'auto',\r\n\tcontentHeight:'auto',\r\n\ttop:0,\r\n\tshowVerticalScrollIndicator:true,\r\n\tshowHorizontalScrollIndicator:true\r\n});\r\n\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor:'#336699',\r\n\tborderRadius:10,\r\n\twidth:300,\r\n\theight:400,\r\n\ttop:10\r\n});\r\n\r\nscrollView.add(view);\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'Click me'\r\n});\r\nbutton.addEventListener(\"click\", function(){\r\n\tview.height = (view.height === 2000) ? 400 : 2000;\r\n});\r\nview.add(button);\r\n\r\nwin.add(scrollView);\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: scrollView - does not scroll correctly when contentHeight is changed", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK v2.1.0.v20120619142258", "comment": { "comments": [ { "id": "202973", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2519", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T11:42:57.000+0000", "updated": "2012-07-12T11:42:57.000+0000" }, { "id": "203031", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "2.1.1 backport PR: https://github.com/appcelerator/titanium_mobile/pull/2550", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T14:18:11.000+0000", "updated": "2012-07-12T14:18:11.000+0000" }, { "id": "209221", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue & we are able to scroll when the content height is changed.\r\nTested On:\r\nTitanium studio : 2.1.1.201207171343\r\nSDK version : 2.1.1.v20120723131610\r\niphone 5.0.1\r\nandroid 2.3.6 -default browser.\r\n\r\nThus closing the issue.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T16:10:50.000+0000", "updated": "2012-07-24T16:10:50.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }