{ "id": "89174", "key": "TIMOB-8425", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14157", "description": "Sprint 2012-20 API", "name": "Sprint 2012-20 API", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-27T23:54:00.000+0000", "created": "2012-03-29T13:53:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "module_textfield", "qe-ios6", "qe-testadded" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "21611", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "101466", "key": "TIMOB-11023", "fields": { "summary": "iOS: Different reaction of ScrollView in iOS 5.0 and 5.1", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T05:32:20.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": "h3. Code\r\n\r\nTest this code in landscape orientation\r\n\r\n{noformat}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white'\r\n});\r\n\r\n var formboxLeft = Ti.UI.createView({\r\n backgroundImage:'bg-white-box--with-shadow.png',\r\n left: 20,\r\n top: 265,\r\n width: 460,\r\n height: 420, \r\n});\r\n\r\nvar field = Ti.UI.createTextField({\r\n hintText: 'password',\r\n color:'#666',\r\n width:'94%',\r\n left: '3%',\r\n top: 140,\r\n width: '50%',\r\n height: 45,\r\n borderRadius:0, \r\n borderStyle:Titanium.UI.INPUT_BORDERSTYLE_BEZEL,\r\n passwordMask: true\r\n});\r\n\r\nvar scroll = Ti.UI.createScrollView({\r\n left: 11,\r\n top: 12,\r\n width: 433,\r\n height: 390,\r\n contentHeight:'auto',\r\n contentWidth: 'auto', \r\n});\r\n\r\nscroll.add(field);\r\nformboxLeft.add(scroll);\r\nwin.add(formboxLeft);\r\nwin.open();\r\n\r\n{noformat}\r\n\r\nh3. Expected Behavior\r\n\r\nClicking on the textfield should bring up the keyboard and on textfield blur (keyboard down), the textfield should scroll back to original position\r\n\r\nh3. Actual Behavior\r\n\r\nTextfield does not scroll back to original position and there is a gap that can be seen between the textfield and the border of the scrollview.", "attachment": [], "flagged": false, "summary": "iOS: Textfield in scrollview does not slide back to original position on blur", "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 SDK: 1.8.2\r\nPlatform OS: iOS ver 5.0\r\n", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "190359", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR 1930 against TIMOB-1902", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-09T12:54:07.000+0000", "updated": "2012-04-09T12:54:07.000+0000" }, { "id": "200631", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested and verified with:\r\nTitanium Studio, build: 2.1.0.201206251749\r\nTitanium SDK: 2.1.0.v20120626204252\r\nDevice: iPad 3rd gen (5.1.1)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-27T11:57:58.000+0000", "updated": "2012-06-27T11:57:58.000+0000" }, { "id": "221138", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening bug for iOS 6.0 and adding a label \"qe-ios6\".\r\nTextfield does not slide back to original position on blur on devices with iOS 6.0. Tested on iPhone 5 (6.0), iPhone 4S (6.0) and noticed slightly different behavior:\r\n- on iPhone 5 when soft keyboard pops up the textfield appears above and doesn't slide back after soft keyboard dismissed;\r\n- on iPhone 4S we can't see the textfield when soft keyboard pops up, and after dismissing the soft keyboard the text field visually changed its position.\r\nNo need to run the code in landscape mode, as was written in description. \r\n\r\nTested on: \r\nOS: Mac OS X Lion 10.7.4 \r\nTitanium Studio, build: 2.1.2.201208301612 \r\nTitanium SDK, build: 2.1.3.v20120926141610\r\nDevices: iPhone 4S (6.0), iPhone 5 (6.0), iPhone 4S (4.3.5)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:06:11.000+0000", "updated": "2012-09-26T23:06:11.000+0000" }, { "id": "221208", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Keeping in for 3.0, but will defer for 2.1.3.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T16:24:28.000+0000", "updated": "2012-09-27T16:24:28.000+0000" }, { "id": "221303", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test is for iPAD. \r\nThere is an issue with textFields in scrollView but that is addressed in timob-11023\r\n\r\nResolving this", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T23:54:00.000+0000", "updated": "2012-09-27T23:54:00.000+0000" }, { "id": "224063", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed:\nVerified with:\nTitanium Studio, build: 3.0.0.201210151149\nTitanium SDK, build: 3.0.0.v20121017102440\nDevice:\niPad3 ios 6.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T21:21:25.000+0000", "updated": "2012-10-17T21:21:25.000+0000" }, { "id": "278591", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4863\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T05:32:20.000+0000", "updated": "2013-11-07T05:32:20.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }