{ "id": "121042", "key": "TIMOB-15445", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15704", "description": "2013 Sprint 22 API", "name": "2013 Sprint 22 API", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-22T22:40:45.000+0000", "created": "2013-10-10T12:02:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_scrollView", "qe-closed-3.2.0", "qe-testadded", "supportTeam" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-11T09:19: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": "h2. Description\r\nI have a scrollview which doesn't take the full height of the screen, so it doesn't move at all when I try to scroll it. It has a text field inside, though, and when I put focus in that text field, then blur it after, I find that the scrollview is now scrolling even though it shouldn't be anymore now that the keyboard is gone.\r\n\r\nSteps:\r\n(1) Observe you can't scroll the screen\r\n(2) Click into the text field\r\n(3) Click out of the text field (or lose focus some other way)\r\n(4) Observe that the screen is now still scrollable even though it shouldn't be.\r\n\r\nNote : If keyboardToolbar property is removed then its not reproducible.\r\n\r\nh2. Test Code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\texitOnClose : true,\r\n\tfullscreen : false,\r\n\ttitle : 'ScrollView Demo'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n\tcontentWidth : 'auto',\r\n\tcontentHeight : 'auto',\r\n\tshowVerticalScrollIndicator : true,\r\n\tshowHorizontalScrollIndicator : true,\r\n\theight : Ti.UI.FILL,\r\n\twidth : Ti.UI.FILL\r\n});\r\n\r\nvar fillView = Ti.UI.createView({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\tbackgroundColor: 'yellow'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor : '#336699',\r\n\tborderRadius : 10,\r\n\theight : 200,\r\n\twidth : 200,\r\n\ttop : 300\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle : 'test'\r\n});\r\n\r\nvar toolbar = Ti.UI.iOS.createToolbar({\r\n\titems: [btn]\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\tcolor : '#336699',\r\n\twidth : 150,\r\n\theight : 60,\r\n\tkeyboardToolbar : toolbar\r\n});\r\n\r\nscrollView.add(fillView);\r\nfillView.add(view);\r\nwin.add(scrollView);\r\nview.add(textField);\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "iOS7: Scrollview contentHeight not adjusting after Keyboard is dismissed", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7 & 6", "comment": { "comments": [ { "id": "276250", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4823", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T22:17:27.000+0000", "updated": "2013-10-22T22:17:27.000+0000" }, { "id": "276491", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix with:\r\nMavericks 10.9\r\nAppcelerator Studio, build: 3.2.0.201310230601\r\nTitanium SDK, build: 3.2.0.v20131023120113\r\nCLI 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f)\r\niPhone5 iOS 7.0.2\r\niPad mini 7.0.2\r\niPad mini 6.1.3", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-23T23:15:02.000+0000", "updated": "2013-10-23T23:15:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }