{ "id": "122006", "key": "TIMOB-15652", "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": "2013-11-04T05:25:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Community", "reprod" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:41.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nIf you add a textfield to a view that has an animation, the textfield won't show the keyboard.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project\r\n2. Copy-Paste the test case to app.js\r\n3. Run it\r\n4. You will see that if you click on the textfield, the keyboard won't pop-up.\r\n\r\nh4. Test Case\r\n{code}\r\nvar self = Titanium.UI.createWindow({\r\n backgroundColor:'#fff',\r\n});\r\n \r\n \r\nvar textField = Titanium.UI.createTextField({\r\n\ttop:300,\r\n\theight:40,\r\n\tborderColor:'red',\r\n\twidth:200,\r\n});\r\n \r\n \r\nvar up = Titanium.UI.createAnimation({\r\n\ttop:-150,\r\n\tbottom:150,\r\n});\r\n \r\nvar down = Titanium.UI.createAnimation({\r\n\ttop:0,\r\n\tbottom:0,\r\n});\r\n \r\n \r\ntextField.addEventListener('focus', function(e){\r\n\t// self.top = -150;\r\n\t// self.bottom = 150;\r\n\tself.animate(up);\r\n\tTitanium.API.info('test');\r\n});\r\n \r\n \r\ntextField.addEventListener('blur',function(e){\r\n\t// self.top = 0;\r\n\t// self.bottom = 0;\r\n\tself.animate(down);\r\n\tTitanium.API.info('test2');\r\n});\r\n \r\n \r\n \r\nself.add(textField);\r\nself.open();\r\n{code}", "attachment": [ { "id": "43647", "filename": "issueTextFielf.js", "author": { "name": "addiel", "key": "addiel", "displayName": "addiel Juarez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T05:25:15.000+0000", "size": 646, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: If you have a textfield with an animation, the keyboard won't appear in the screen.", "creator": { "name": "addiel", "key": "addiel", "displayName": "addiel Juarez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "addiel", "key": "addiel", "displayName": "addiel Juarez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS: MacOS 10.8.5\r\niOS 7,\r\nMobile SDK 3.1.3.GA", "comment": { "comments": [ { "id": "321775", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with 3.1.3 and 3.4.0 GA\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.4.0.GA \r\niOS SDK: 7.0\r\niOS iPhone Simulator: 7.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-04T08:58:11.000+0000", "updated": "2014-09-04T08:58:11.000+0000" }, { "id": "384405", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "Yep, this issue becomes clearer when you want to provide feed back to the user entering some input in a textfield with this module https://github.com/caffeinalab/ti.notifications/issues/22 which uses animations.\r\n\r\nAs the animation completes, the FirstResponder is taken away from the textfield and added to the view that finished animation.\r\n\r\n ", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-04-30T17:02:15.000+0000", "updated": "2016-04-30T17:02:15.000+0000" }, { "id": "422825", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T20:32:32.000+0000", "updated": "2017-06-26T20:32:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }