{ "id": "164581", "key": "AC-4622", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-21T20:36:48.000+0000", "created": "2016-11-18T00:49:24.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-11-21T20:36: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When a table view row contains more than one text fields, clicking on the second text field in the table view row will cause the first text field in the row to be focused on instead.\r\n\r\nReproduce steps:\r\n - copy code below into index.js of a new project, build\r\n - tap on the second text field in the first row \r\n\r\nExpected behavior: \r\n - focus is on the second text field\r\n\r\nActual behavior: \r\n - focus jumps back to the first text field\r\n\r\n{code:javascript}\r\n// index.js\r\nvar win = Ti.UI.createWindow();\r\nvar table = Ti.UI.createTableView();\r\n\r\nvar data = [];\r\n\r\nfor(var i = 0; i < 10; i++){\r\n\tvar tableRow = Ti.UI.createTableViewRow({\r\n\t\tlayout: \"vertical\"\r\n\t});\r\n\r\n\tfor(var j = 0; j < 2; j++){\r\n\t\ttableRow.add(Ti.UI.createTextField({\r\n\t\t\tcolor: \"#000\",\r\n\t\t\tborderColor: \"#000\",\r\n\t\t\tborderWidth: \"1dp\",\r\n\t\t\twidth: \"60dp\"\r\n\t\t}));\r\n\t}\r\n\r\n\tdata.push(tableRow);\r\n}\r\n\r\ntable.data = data;\r\n\r\nvar view = Ti.UI.createView(); \r\nview.add(table);\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "60723", "filename": "index.js", "author": { "name": "trevor_chong", "key": "trevor_chong", "displayName": "Trevor Chong", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-18T00:45:13.000+0000", "size": 512, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: click on text fields in table view rows, end up being focused on a different text field", "creator": { "name": "trevor_chong", "key": "trevor_chong", "displayName": "Trevor Chong", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "trevor_chong", "key": "trevor_chong", "displayName": "Trevor Chong", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.11.6\r\nTitanium SDK 5.4.0 GA\r\nNexus 5, 7.0", "comment": { "comments": [ { "id": "401580", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for your query. Would you please check this issue in the latest SDK and also send us proper instruction for reproducing this issue?\r\n\r\nThanks", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-11-20T20:15:59.000+0000", "updated": "2016-11-20T20:15:59.000+0000" }, { "id": "401649", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "The issue is not happening on the latest release 6.0.0.GA. Verified with the below environment.\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\n\r\nTitanium SDK\r\n SDK Version = 6.0.0.GA\r\n Target Platform = android\r\n{code}", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-11-21T20:36:24.000+0000", "updated": "2016-11-21T20:36:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }