{ "id": "83810", "key": "TIMOB-6664", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-22T16:37:45.000+0000", "created": "2011-12-14T12:25:56.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T21:34:51.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": "h4. Issue\r\nWhen placing a tableview with two textfields and scrollable:false inside a scrollview to allow movement for the keyboard. The tableview moves up as expected and does not snap back into its place only in 5.0 simulator.Behaves as expected in 4.3 simulator.\r\n\r\nh4. Code\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\t\r\n\tvar data = [];\r\n\r\n\tvar txtUsername = Ti.UI.createTextField({\r\n\t\tleft: 10,\r\n\t\tright: 10,\r\n\t\thintText: 'Username',\r\n\t\tborderWidth: 0,\r\n\t\tborderStyle: null\r\n\t});\r\n\tvar rowUsername = Ti.UI.createTableViewRow({});\r\n\trowUsername.add(txtUsername);\r\n\tdata.push(rowUsername);\r\n\r\n\tvar txtPassword = Ti.UI.createTextField({\r\n\t\tleft: 10,\r\n\t\tright: 10,\r\n\t\thintText: 'Password',\r\n\t\tborderWidth: 0,\r\n\t\tborderStyle: null\r\n\t});\r\n\tvar rowPassword = Ti.UI.createTableViewRow({});\r\n\trowPassword.add(txtPassword);\r\n\tdata.push(rowPassword);\r\n\t\r\nvar view = Ti.UI.createScrollView({\r\n contentWidth: 'auto',\r\n contentHeight: 'auto',\r\n height:480,\r\n width:320,\r\n bottom:0\r\n});\r\n\r\nvar table = Ti.UI.createTableView({\r\n\t\ttop:200,\r\n\t\theight: 200,\r\n\t\tstyle: Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n\t\tbackgroundColor: 'transparent',\r\n\t\trowBackgroundColor: '#FFFFFF',\r\n\t\tallowsSelection: false,\r\n\t\tscrollable: false,\r\n\t\tdata: data,\r\n\t\tmoving:false\r\n\t});\r\n\tview.add(table);\r\n\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\nh4.Repro Steps\r\n1. Drop code into app.js and run app\r\n2. Click in the password field\r\n4. Blur password, table slides down, but the scrollview does not snap back into place under 5.0 simulator", "attachment": [], "flagged": false, "summary": "iOS: Scroll View behaving differently in iOS 5 nad 4.3", "creator": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "5.0 Simulator and 4.3 Simulator , Xcode 4.2", "comment": { "comments": [ { "id": "420124", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as Invalid. If the problem persists please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-22T16:37:45.000+0000", "updated": "2017-05-22T16:37:45.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }