Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25334] iOS 11: TableViews are sliding up when opening from navigation-window

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-09-26T06:36:27.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sRelease 6.3.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-09-22T19:43:12.000+0000
Updated2017-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).

Comments

  1. Hans Knöchel 2017-09-22

    PR: https://github.com/appcelerator/titanium_mobile/pull/9471 Test-Case: See above
  2. Vijay Singh 2017-09-25

    [~hknoechel] Please create PR for master as well. Thanks!
  3. Hans Knöchel 2017-09-25

    [~vijaysingh] There was one already, forgot to link :-) : https://github.com/appcelerator/titanium_mobile/pull/9470
  4. Eric Wieber 2017-09-26

    Verified in SDK builds 6.3.0.v20170925234416 & 7.0.0.v20170926122808

JSON Source