{ "id": "83764", "key": "TIMOB-6645", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T16:20:57.000+0000", "created": "2011-12-13T14:15:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableview", "parity", "qe-testadded" ], "versions": [ { "id": "12571", "description": "CI for 1_7_X", "name": "Release 1.7.6", "archived": true, "released": false }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "21898", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103089", "key": "TIMOB-11371", "fields": { "summary": "Android: TableView - Missing textfields for \"username\" and \"password\"", "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": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-10T23:37:32.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 and cuts of the top of the table, then does not always return to the right position on Blur\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\n3. See Username field get cutoff\r\n4. Blur password, table slides down, but still has username field cutoff", "attachment": [], "flagged": false, "summary": "Tableview Scrollable:false breaks with textField in row", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS Simulator 4.3 and iOS Device 4.3.3", "comment": { "comments": [ { "id": "176104", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed on master with PR#997", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T12:18:16.000+0000", "updated": "2011-12-14T12:18:16.000+0000" }, { "id": "179148", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio 1.0.8.201201101928\r\nTi Mob SDK 1.9.0.v20120111233134\r\nOSX Lion\r\niPhone 4S, iPad 2\r\n\r\nExpected behavior of textfield not being cutoff is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T17:35:48.000+0000", "updated": "2012-01-12T17:35:48.000+0000" }, { "id": "180284", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening and closing this issue to update label and Fix Version field.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T16:20:37.000+0000", "updated": "2012-01-23T16:20:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }