{ "id": "114227", "key": "TIMOB-13848", "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-05-10T20:57:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Alloy", "focus", "tableview", "textarea" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:48.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": "*Problem*\r\nWhen the user types anything that makes the text area wrap down to the next line, thus extending the height of the TextArea, it loses focus. The keyboard stays up but nothing shows up when keys are pressed.\r\n\r\n*Steps to reproduce*\r\n1. Create a new blank Alloy project\r\n2. Add the controller, style and view.xml from the .rar file and add the code below to index.js\r\n3. Run on Android\r\n4. Enter text into the TextField until it wraps to the next line\r\n5. Observe that the TextField loses focus\r\n\r\n*index.js*\r\n{code:javascript}\r\nvar arg = {\r\n\t\ttext: \"Enter the title of your broadcast\",\r\n\t\tpositiveLabel: \"Continue\",\r\n\t\tnegativeLabel: \"Back\",\r\n\t}\r\n\tAlloy.createController(\"InputDialog\", arg).getView().open();\r\n{code}", "attachment": [ { "id": "38360", "filename": "app.rar", "author": { "name": "revtyler", "key": "revtyler", "displayName": "Tyler Reid", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-10T20:57:56.000+0000", "size": 1096, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Android: TextArea loses focus when the string wraps and changes the height of the view", "creator": { "name": "revtyler", "key": "revtyler", "displayName": "Tyler Reid", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "revtyler", "key": "revtyler", "displayName": "Tyler Reid", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.0.4, Alloy, Titanium 3.1.0", "comment": { "comments": [ { "id": "251702", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on Samsung Galaxy S2 Android 2.3.6 with Ti SDK 3.1 GA and latest 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-14T00:00:37.000+0000", "updated": "2013-05-14T00:00:37.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }