Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13439] iOS: UI.TableViewRow with UI.TextField which uses a keyboardTool not displaying correctly

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-06-12T19:02:18.000+0000
Affected Version/sRelease 2.1.3, Release 3.0.2, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHannes Becker
AssigneeEric Merriman
Created2012-12-07T15:49:07.000+0000
Updated2017-06-12T19:02:18.000+0000

Description

Steps to reproduce: 1. Create following window and open it
function ApplicationWindow() {
	var self = Ti.UI.createWindow({
		backgroundColor : '#ffffff'
	});
	var data = [];
	for (var i = 0; i < 20; i++) {
		var row = Ti.UI.createTableViewRow();
		var textField = Ti.UI.createTextField({
			keyboardToolbar : [Ti.UI.createButton({
				systemButton : Ti.UI.iPhone.SystemButton.DONE
			})],
			width : 200,
			height : 50,
			backgroundColor : 'red'
		});
		row.add(textField);
		data.push(row);
	}
	var table = Ti.UI.createTableView({
		data : data
	});
	self.add(table);
	return self;
}
module.exports = ApplicationWindow;
2. Click on a textfield (so that virtual keyboard with toolbar shows up) 3. Click on the "return" button of the keyboard to hide keyboard and toolbar 4. Scroll to the end of the tableview As you can see at the end of the tableview is a transparent empty block of the height of the keyboard toolbar which looks very "unclean"

Comments

  1. Daniel Sefton 2013-04-06

    Good catch. Tested and confirmed on iOS 6 simulator with 3.0.2 GA and latest 3.1 CI.
  2. Lee Morris 2017-06-12

    Closing this ticket as the issue cannot be reproduced with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170606103146 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source