[TIMOB-6652] iOS: TextArea with no color is not focusable
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-01T12:50:37.000+0000 |
Affected Version/s | Release 1.7.5 |
Fix Version/s | Sprint 2011-51, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | module_textfield, parity, qe-testadded |
Reporter | Arthur Evans |
Assignee | Sabil Rahim |
Created | 2011-12-13T17:56:28.000+0000 |
Updated | 2012-03-04T22:04:50.000+0000 |
Description
In the following code excerpt, the text area is not focusable. If the
// color: 'black'
line is uncommented, the text area works as expected.
var win1 = Titanium.UI.createWindow({
title:'TextArea Test',
backgroundColor:'#fff'
});
var textarea = Titanium.UI.createTextArea({
color: 'black',
hintText : 'Focus to see keyboard w/ toolbar',
height : 120,
width : 300,
top : 10,
});
win1.add(textarea);
win1.open();
Note that this is not a regression. Occurs in 1.7.5.
Aha. This is because we don't force a load of textarea on a resize. Technically speaking, color, or almost any other text-specific property will suffice. Still, d'oh.
Closing issue Tested with Ti Studio 1.0.8.201201101928 Ti Mob SDK 1.9.0.v20120111233134 OSX Lion iPhone 4S, iPad 2 Expected result of text area being focused is shown
open to update label