Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-504] auto focus textarea on window open has slight up/down motion after focus

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsios, iphone, textarea
ReporterNolan Wright
AssigneeJeff Haynie
Created2011-04-15T02:30:29.000+0000
Updated2011-04-17T01:53:19.000+0000

Description

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

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

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

win.add(textarea);

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

    textarea.focus();

}) win.open();

Comments

  1. Blain Hamon 2011-04-15

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

JSON Source