[TIMOB-13439] iOS: UI.TableViewRow with UI.TextField which uses a keyboardTool not displaying correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-06-12T19:02:18.000+0000 |
Affected Version/s | Release 2.1.3, Release 3.0.2, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Hannes Becker |
Assignee | Eric Merriman |
Created | 2012-12-07T15:49:07.000+0000 |
Updated | 2017-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"
Good catch. Tested and confirmed on iOS 6 simulator with 3.0.2 GA and latest 3.1 CI.
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