[TIMOB-504] auto focus textarea on window open has slight up/down motion after focus
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:53:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.3.0 |
| Components | iOS |
| Labels | ios, iphone, textarea |
| Reporter | Nolan Wright |
| Assignee | Jeff Haynie |
| Created | 2011-04-15T02:30:29.000+0000 |
| Updated | 2011-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();
Couldn't recreate it. It might have been fixed as a side effect, but I'll have to see what's happening.