Problem
When a popover is called it changes table view height. Gap can be seen between last row and bottom of the window.
Steps to Reproduce
1. Click the Text Field on the right to show the popover
2. Then scroll down
Code to Reproduce
//ROOT WINDOW
var tabGroup = Titanium.UI.createTabGroup();
var w = Ti.UI.createWindow({
backgroundColor:'#fff',
orientationModes:[Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT]
});
var win1 = Ti.UI.createWindow({
backgroundColor:'#f00',
title:'Red'
});
var tab1 = Titanium.UI.createTab({
title:'Red',
window:win1
});
var win2 = Ti.UI.createWindow({
backgroundColor:'#0f0',
title:'Green'
});
var tab2 = Titanium.UI.createTab({
title:'Green',
window:win2
});
tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
//POPOVER
var popover = Ti.UI.iPad.createPopover({
title:'Numpad',
width:189,
height:205,
});
//TABLE VIEW
var section = Ti.UI.createTableViewSection();
for (var i = 0; i < 20; i++) {
var row = Ti.UI.createTableViewRow({
height:100,
title:'Row ' + (i + 1)
});
var txt = Titanium.UI.createTextField({
width:62,
height:37,
right:50,
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED
});
txt.addEventListener('focus', function(e) {
e.source.blur();
popover.show({
view:e.source,
animated:true
});
})
row.txt = txt;
row.add(row.txt)
section.add(row);
}
var data = [section];
var tableView = Ti.UI.createTableView({
data:data
});
win1.add(tableView);
w.open();
tabGroup.open();
Associated Helpdesk Ticket
http://appc.me/c/APP-758934Updated formatting.
cannot reproduce Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 iOS iPhone Simulator: iOS SDK version: 6.0
Issue does not reproduces Tested with iOS SDK: 5.1 iOS iPhone Simulator: 5.1 Mac OS X Version 10.7.5 Titanium SDK version 3.1.1.v20130606121419 Titanium Studio, build: 3.0.1.201212181159
Closing ticket as the issue cannot be reproduced.