{ "id": "116038", "key": "TIMOB-14258", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-06-20T21:12:35.000+0000", "created": "2013-06-16T20:45:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "focus", "ios", "move", "tableview", "textfield" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "29738", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "100568", "key": "TIMOB-10800", "fields": { "summary": "iOS: TableView scrolls back to focused text field on scroll end", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "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": "2014-06-19T12:42:48.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": "*Problem*\r\nTableView is moving to focused TextField.\r\n\r\n*Steps to reproduce*\r\n1. Try to tap on the third TextField and than scroll down (To middle/end of the table).\r\n2. TableView then automatically moves up to the focused TextField. Very annoying.\r\n\r\n*Test case*\r\n{code:javascript} \r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\nvar table = Ti.UI.createTableView();\r\nvar data = [];\r\n\r\nfor (var i = 0; i < 30; i++) {\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\twidth : Ti.UI.FILL,\r\n\t\theight : Ti.UI.FILL\r\n\t});\r\n\tvar tField = Ti.UI.createTextField({\r\n\t\twidth : \"90%\",\r\n\t\theight : Ti.UI.FILL,\r\n\t\tbackgroundColor : \"gray\"\r\n\t});\r\n\r\n\trow.add(tField);\r\n\tdata.push(row);\r\n}\r\n\r\ntable.data = data;\r\n\r\nwin.add(table);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TableView automatically scrolls to focussed TextField", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Macbook Pro, OSX 10.7.5, iOS Simulator v. 6.0 (369.2). Ti: 3.1 GA", "comment": { "comments": [ { "id": "258282", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-17T22:01:01.000+0000", "updated": "2013-06-17T22:01:01.000+0000" }, { "id": "258812", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T21:06:05.000+0000", "updated": "2013-06-20T21:06:05.000+0000" }, { "id": "258818", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks, linking and closing as duplicate.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T21:12:35.000+0000", "updated": "2013-06-20T21:12:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }