{ "id": "116892", "key": "AC-2059", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-07-09T17:44:19.000+0000", "created": "2013-07-04T08:39:10.000+0000", "labels": [ "focus", "textfield" ], "versions": [], "issuelinks": [ { "id": "30100", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "116891", "key": "TIMOB-14529", "fields": { "summary": "iOS: TextField focus doesn't work when TextField isn't visible", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:01.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": [], "description": "TextField focus doesn't work when TF isn't visible on a screen.\r\n\r\n*STEPS TO REPRODUCE?:*\r\n- Turn on app\r\n- When you stay on the top of a TableView you can see first TextField there focus work without any problem\r\n- Try to hide showed keyboard for first TextField and scroll/move to the bottom of a TableView (There focus doesn't work...)\r\n\r\n*SAMPLE:*\r\n{code:javascript} \r\nvar win = Ti.UI.createWindow();\r\nvar table = Ti.UI.createTableView({ style: Ti.UI.iPhone.TableViewStyle.GROUPED });\r\nvar data = [];\r\n\r\nfor(i=0;i<20;i++)\r\n{\r\n\tvar row = Ti.UI.createTableViewRow({width: Ti.UI.FILL, height: Ti.UI.FILL});\r\n\tvar tField = Ti.UI.createTextField({width: Ti.UI.FILL, height: \"100%\"});\r\n\t\r\n\trow.add(tField);\r\n\tdata.push(row);\r\n}\r\n\r\n\r\ntable.data = data;\r\n\r\nwin.add(table);\r\nwin.open();\r\n\r\nsetInterval(function(){ data[0].children[0].focus(); }, 3000);\r\n{code}", "attachment": [], "flagged": false, "summary": "TextField focus doesn't work when TF isn't visible...", "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": "261089", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate of TC-2569.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-09T17:44:19.000+0000", "updated": "2013-07-09T17:44:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }