{ "id": "88495", "key": "TIMOB-8191", "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": null, "resolutiondate": null, "created": "2012-03-22T11:43:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "15891", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "88487", "key": "TIMOB-8185", "fields": { "summary": "iOS: TextField loses focus if resized", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16684", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "88966", "key": "TIMOB-8332", "fields": { "summary": "Android: tableView textField focus is lost while typing", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16707", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90381", "key": "TIMOB-8765", "fields": { "summary": "Android: TextField selection position gets reset when TableView resizes.", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-06T18:57:59.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Problem\r\nTextField in a TableViewRow loses focus if it has been resized after being focused\r\n\r\nh2. Code and steps to reproduce\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle:'pippo',\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nfunction addRow(addTextArea)\r\n{\r\n\tvar row = Ti.UI.createTableViewRow({height:200});\r\n\t\r\n\t\r\nvar $tTF = Ti.UI.createTextField({\r\n\t\theight: 30,\r\n\t\ttop : 30,\r\n\t\twidth: 100,\r\n\t\tborderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED\r\n\t});\r\n\r\n\t\t$tTF.addEventListener('focus',function(_e){\r\n \tTi.API.error(\"focus \"+_e.source.height);\r\n \tTi.API.error(_e);\r\n \t_e.source.animate({height: _e.source.height*2});\r\n\t});\r\n\t\r\n\t\r\n\t\r\n\trow.add($tTF);\r\n\trow.selectionStyle = Ti.UI.iPhone.TableViewCellSelectionStyle.NONE;\r\n\trow.className = 'control';\r\n\treturn row;\r\n}\r\n\r\n// create table view data object\r\nvar data = [];\r\n\r\nfor (var x=0;x<1;x++)\r\n{\r\n\tif (x==1){\r\n\t\tdata[x] = addRow(true);\r\n\t} else {\r\n\t\tdata[x] = addRow();\r\n\t}\r\n\r\n}\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n\tdata:data,\r\n\tstyle: Titanium.UI.iPhone.TableViewStyle.GROUPED\r\n});\r\nwin.addEventListener('focus', function()\r\n{\r\n\tTi.API.info('window focus fired');\r\n});\r\nwin.add(tableView);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\nTo reproduce:\r\n- Run the app and click the textField: textField is animated increasing in height.\r\nResult: focus on textField is lost.\r\n\r\nh2. Additional notes\r\nTicket associated for iOS: http://support-admin.appcelerator.com/display/APP-995689/conversation/read_all", "attachment": [], "flagged": false, "summary": "Android: TextField loses focus if resized", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 2.0 , 1.8.2, 1.7.6\r\nAndroid device", "comment": { "comments": [ { "id": "191385", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This will probably be fixed when TIMOB-8332 is resolved.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T11:42:43.000+0000", "updated": "2012-04-17T11:42:43.000+0000" }, { "id": "239786", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue is reproduced with build 3.0.2 and 3.1.0 .", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T11:41:39.000+0000", "updated": "2013-02-26T11:41:39.000+0000" }, { "id": "246605", "author": { "name": "anandt", "key": "anandt", "displayName": "Anand T", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I too have the same issue in android device Sony Xperia U, I'm using TiSDK 3.0.2", "updateAuthor": { "name": "anandt", "key": "anandt", "displayName": "Anand T", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T09:51:07.000+0000", "updated": "2013-04-09T09:51:54.000+0000" }, { "id": "275032", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Based on comments on TIMOB-8332, it sounds like this might be a \"Won't fix\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T20:12:08.000+0000", "updated": "2013-10-14T20:12:08.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }