Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2607] Text fields on Android don't show cursor in 3.2.0 SDK

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2014-01-19T22:05:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterIvan Skugor
AssigneeRitu Agrawal
Created2014-01-14T13:10:26.000+0000
Updated2016-03-08T07:41:41.000+0000

Description

Using text fields in 3.2.0.GA SDK have serious UX issue, there's no way to know if text field is focused, cursor is not shown at all. To see this issue, run this code:
var win = Ti.UI.createWindow({
	backgroundColor: "#fff",
	navBarHidden: true
});

var textField1 = Ti.UI.createTextField({
	top: 40,
	width: 350,
	height: 80,
	color: "#000",
	borderColor: "#000",
	borderWidth: 1,
	backgroundColor: "#fff"
});

var textField2 = Ti.UI.createTextField({
	top: 200,
	width: 350,
	height: 80,
	color: "#000",
	borderColor: "#000",
	borderWidth: 1,
	backgroundColor: "#fff"
});

win.add(textField1);
win.add(textField2);

win.open();
Try to click on second text field, you won't see cursor or any other visual indicator that text field is focused. Now, try to compile app with 3.1.3.GA, you should see cursor in focused text field.

Comments

  1. Ritu Agrawal 2014-01-15

    [~ivan.skugor] This appears to be a duplicate of TIMOB-13567 and documented in TIDOC-1116. Would it be possible for you to verify if you are running into the same issue?
  2. Ivan Skugor 2014-01-19

    Yes, setting new theme helped. Thanks, you can close this issue.

JSON Source