[TIMOB-14069] Android: TextField within a TableViewRow shows one keyboard and then another immediately overlaying the first.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | In Review |
Resolution | Unresolved |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Carter Lathrop |
Assignee | Unknown |
Created | 2013-05-31T13:50:45.000+0000 |
Updated | 2018-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();
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
PR:- https://github.com/appcelerator/titanium_mobile/pull/5252