[TIMOB-14485] iOS: Keyboard hides last row in a TableView with less than 10 rows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-06-13T22:47:09.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | hide, keyboard, tableview, tableviewrow |
Reporter | Matej |
Assignee | Eric Merriman |
Created | 2013-06-30T21:23:24.000+0000 |
Updated | 2017-06-13T22:47:09.000+0000 |
Description
*Problem*
The keyboard hides the last row in a TableView when the table has less than 10 rows. It is a big problem if last row is button.
*Test case*
var win = Ti.UI.createWindow();
var table = Ti.UI.createTableView({
style : Ti.UI.iPhone.TableViewStyle.GROUPED
});
var data = [];
for (var i = 0; i < 8; i++)// i<10 is working
{
var row = Ti.UI.createTableViewRow({
width : Ti.UI.FILL,
height : Ti.UI.FILL
});
var tField = Ti.UI.createTextField({
width : Ti.UI.FILL,
height : "100%"
});
row.add(tField);
data.push(row);
}
table.data = data;
win.add(table);
win.open();
Attachments
File | Date | Size |
---|---|---|
ios_issue.png | 2013-06-30T21:23:25.000+0000 | 201696 |
Tested and confirmed on iOS 6 simulator with Ti SDK 3.1.1 GA.
I am unable to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170609091155 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