Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14069] Android: TextField within a TableViewRow shows one keyboard and then another immediately overlaying the first.

GitHub Issuen/a
TypeBug
PriorityLow
StatusIn Review
ResolutionUnresolved
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterCarter Lathrop
AssigneeUnknown
Created2013-05-31T13:50:45.000+0000
Updated2018-02-28T20:04:22.000+0000

Description

This occurs when including a TextField in a TableViewRow. Upon tapping/clicking the TextField a soft keyboard pops up and then another immediately pops up over the first. When trying to type using the displayed keyboard, no text is entered into the TextField. Tapping the TextField again without first hiding the bad keyboard results in the correct keyboard being displayed and proper functionality is restored. This happens regardless of the keyboard type assigned to the TextField. Sample code to reproduce the issue:
	var win = Ti.UI.createWindow({
	    backgroundColor:'white',
	});
	 
	var textField = Ti.UI.createTextField({
	    keyboardType:Ti.UI.KEYBOARD_DECIMAL_PAD,
	    top:0,
	    width:50,
	});
	
	var tableView = Ti.UI.createTableView({
		height:Ti.UI.FILL,
		width:Ti.UI.FILL
	});
	var row = Ti.UI.createTableViewRow({
		size:Ti.UI.SIZE
	});
	row.add(textField);
	tableView.appendRow(row);
	
	win.add(tableView);
	win.open();

Comments

  1. Carter Lathrop 2013-05-31

    Clifton, Thanks for bringing this to our attention. Confirmed bug behavior on device Galaxy S3 4.1.2, with Ti SDK 3.2 CI, Titanium Studio, build: 3.1.0.201303032333. Moving to Ti-Mobile. Regards, Carter
  2. Biju pm 2014-01-24

    PR:- https://github.com/appcelerator/titanium_mobile/pull/5252

JSON Source