[TIMOB-25334] iOS 11: TableViews are sliding up when opening from navigation-window
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-09-26T06:36:27.000+0000 |
| Affected Version/s | Release 6.2.0 |
| Fix Version/s | Release 6.3.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2017-09-22T19:43:12.000+0000 |
| Updated | 2017-09-26T20:47:56.000+0000 |
Description
When using iOS 11, the tableview scrolls up a bit when opening from or to a navigation-controller window:
var btn = Ti.UI.createButton({
title: 'Trigger'
});
var win = Ti.UI.createWindow({
rightNavButton: btn
});
var nav = Ti.UI.iOS.createNavigationWindow({
window: win
});
btn.addEventListener('click', function() {
var win2 = Ti.UI.createWindow({
backgroundColor: 'red'
});
win2.add(Ti.UI.createListView());
nav.openWindow(win2);
});
win.add(Ti.UI.createListView());
nav.open();
Also reproducible in the kitchensink-v2.
The behavior and suggested fix is described [here](https://forums.developer.apple.com/thread/87334).
PR: https://github.com/appcelerator/titanium_mobile/pull/9471 Test-Case: See above
[~hknoechel] Please create PR for master as well. Thanks!
[~vijaysingh] There was one already, forgot to link :-) : https://github.com/appcelerator/titanium_mobile/pull/9470
Verified in SDK builds 6.3.0.v20170925234416 & 7.0.0.v20170926122808