Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4358] iOS: textField can not get focus when property backgroundColor is present but property Color is undefined.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T21:38:43.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMisha Vasko
AssigneeIngo Muschenetz
Created2011-06-10T00:30:51.000+0000
Updated2017-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);

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to the time passed and lack of input.

JSON Source