[TIMOB-4358] iOS: textField can not get focus when property backgroundColor is present but property Color is undefined.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-07T21:38:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Misha Vasko |
Assignee | Ingo Muschenetz |
Created | 2011-06-10T00:30:51.000+0000 |
Updated | 2017-06-07T21:38:43.000+0000 |
Description
textField can not get focus on iOS when property backgroundColor is present but property color is undefined. If we define property color of the textfield it becomes focusable.
Example with first focusable textField and nonfocusable second textField:
var win = Titanium.UI.currentWindow;
var tf1 = Ti.UI.createTextField({
top: 10,
left: 10,
width: 300,
height: 40,
color: 'blue',
backgroundColor:'#aaa'
});
var tf2 = Ti.UI.createTextField({
top: 60,
left: 10,
width: 300,
height: 40,
// color:'blue',
backgroundColor: 'f88'
});
win.add(tf1);
win.add(tf2);
Closing ticket due to the time passed and lack of input.