{ "id": "61136", "key": "TIMOB-504", "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": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:19.000+0000", "created": "2011-04-15T02:30:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone", "textarea" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:19.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

here's the code (put into an app.js)

\n

var win = Titanium.UI.createWindow({
\nbackgroundColor:'#ccc' });

\n

var textarea = Titanium.UI.createTextArea({
\nleft: 10, top: 40, width: 100, height: 100, });

\n

win.add(textarea);

\n

win.addEventListener('open', function()
\n{

\n
\n    textarea.focus();\n
\n

}) win.open();

{html}", "attachment": [], "flagged": false, "summary": "auto focus textarea on window open has slight up/down motion after focus", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123409", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Couldn't recreate it. It might have been fixed as a side effect,\nbut I'll have to see what's happening.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:29.000+0000", "updated": "2011-04-15T02:30:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }