{ "id": "176235", "key": "TIMOB-28488", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-09-14T08:46:09.000+0000", "created": "2021-06-12T13:00:43.000+0000", "epic": { "id": 176208, "key": "TIMOB-28465", "name": "iOS: Support iOS 15 and Xcode 13", "summary": "iOS: Support iOS 15/Xcode 13", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "21201", "description": "", "name": "Release 10.1.0", "archived": false, "released": true, "releaseDate": "2021-09-28" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-11-18T17:54:26.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "On iOS 15, the navigation bar of a modal navigation window \"jumps\" when opening it. It seems like it's trying to present a large title but then uses the normal title style. Test case will come later.", "attachment": [], "flagged": false, "summary": "iOS 15: Modal navigation window jumps navigation bar", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS 15 Beta 1 (Xcode 13", "comment": { "comments": [ { "id": "458829", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Repro case, click the first window. When the navwindow opens the navbar with the \"A Window\" text will jump\r\n\r\n{code}\r\nconst win1 = Titanium.UI.createWindow();\r\nwin1.addEventListener('click', () => {\r\n\tconst navWin = Ti.UI.createNavigationWindow({\r\n\t\twindow: Ti.UI.createWindow({\r\n\t\t\ttitle: 'A window'\r\n\t\t})\r\n\t});\r\n\tnavWin.open({ modal: true })\r\n});\r\nwin1.open();\r\n\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-29T11:57:14.000+0000", "updated": "2021-06-29T11:57:14.000+0000" }, { "id": "458835", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This only happen when the device has a notch. It doesn't happen if there isn't a notch or if you display it modally in landscape orientation... because the notch is not above the title bar.\r\n\r\nSo, it's an issue with how the safe area insets are handled.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-07-02T21:42:16.000+0000", "updated": "2021-07-02T21:42:16.000+0000" }, { "id": "458851", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't find a work-around for this top notch inset issue... other than to use the {{Ti.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN}} instead.\r\n\r\nWhen Apple releases Xcode 13 beta 3, I'll double check to see if this is still an issue.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-07-12T20:42:34.000+0000", "updated": "2021-07-12T20:42:34.000+0000" }, { "id": "458864", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Beta 3 is now out. I haven't tested it so far, but excited to know.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-07-18T21:28:13.000+0000", "updated": "2021-07-18T21:28:13.000+0000" }, { "id": "458869", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue still happens with Xcode 13 beta 3. (sigh)", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-07-19T21:17:54.000+0000", "updated": "2021-07-19T21:17:54.000+0000" }, { "id": "458984", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I can confirm it's still happening in Beta 5, so it does not seem like an Apple issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-08-14T11:02:01.000+0000", "updated": "2021-08-14T11:02:01.000+0000" }, { "id": "459019", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any idea how to tackle this? Happy to discuss ideas here.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-08-31T18:07:19.000+0000", "updated": "2021-08-31T18:07:19.000+0000" }, { "id": "459029", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm not sure how to fix this yet. I'll dig into it tomorrow.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-09-01T03:21:34.000+0000", "updated": "2021-09-01T03:21:34.000+0000" }, { "id": "459030", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], I'm not sure what to do about this.\r\n\r\nI can reproduce the issue. I know that it \"jumps\" based on the height of the top notch. That is, initially the navigation bar \"wrongly\" compensates for the top safe area inset and then removes it once the window finishes the open animation. But I don't know what to do about this or if I have any control over it.\r\n\r\nThe only iOS 15 breaking-change that I'm aware of is [scrollEdgeAppearance|https://developer.apple.com/documentation/uikit/uinavigationbar/3198027-scrolledgeappearance] now applies to the navigation bar. Is that a factor here? I'm not sure.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-09-03T03:18:30.000+0000", "updated": "2021-09-03T03:18:30.000+0000" }, { "id": "459040", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I haven't been able to fix it either so far. This is really the last blocker before next weeks release of iOS 15 and honestly I'm a bit nervous it won't be fixed until then. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-09-08T20:36:56.000+0000", "updated": "2021-09-08T20:36:56.000+0000" }, { "id": "459041", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/13061\r\n\r\n-There might be an issue with large titles being positioned with too much space, but not sure, yet. In general, our app works fine now.- Turns out it was a grouped list view below a large header which is the same on iOS < 15. So all good so far!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-09-11T19:28:31.000+0000", "updated": "2021-09-12T07:31:40.000+0000" }, { "id": "459042", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (titanium_mobile): https://github.com/appcelerator/titanium_mobile/pull/13067\r\n\r\nThe above is an alternative solution based on [~hknoechel] solution. (Thanks Hans!)\r\nIt also resolves a TabGroup issue where the tabs will be overlapped by the bottom \"home indicator\" on iPhone X, 11, and 12.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-09-13T21:48:46.000+0000", "updated": "2021-09-13T21:48:46.000+0000" }, { "id": "459164", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "If model nav window has fixed height then window's body will be start form top 0 behind the nav bar. please check it again because I have an issue because of this", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2021-11-15T13:57:13.000+0000", "updated": "2021-11-15T13:57:13.000+0000" }, { "id": "459165", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "\r\n{code:java}\r\nvar homeWin = Ti.UI.createWindow();\r\n\r\nvar openButton = Ti.UI.createButton({\r\n\ttitle: \"Open\",\r\n\tbackgroundColor: 'blue',\r\n\tcolor: 'white',\r\n\tfont: {\r\n\t\tfontSize: 24\r\n\t}\r\n});\r\n\r\nopenButton.addEventListener('click', function (e) {\r\n\tvar modalWin = Ti.UI.createWindow({\r\n\t\tbackgroundColor: 'gray',\r\n\t\ttitle: 'modal',\r\n\t\tbarColor: 'blue',\r\n\t\theight: 300,\r\n\t\twidth: 200,\r\n\t\tmodal: true\r\n\t});\r\n\tvar label = Ti.UI.createLabel({\r\n\t\tText: \"Here\",\r\n\t\tbackgroundColor: 'teal',\r\n\t\theight: 64,\r\n\t\ttop: 0\r\n\t});\r\n\tmodalWin.add(label);\r\n\r\n\tvar mainWindow = Ti.UI.createNavigationWindow({\r\n\t\theight: 300,\r\n\t\twidth: 200,\r\n\t\twindow: modalWin\r\n\t});\r\n\r\n\tmainWindow.open();\r\n\r\n});\r\n\r\nhomeWin.add(openButton);\r\nhomeWin.open();\r\n{code}\r\n", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2021-11-15T14:31:18.000+0000", "updated": "2021-11-15T14:31:18.000+0000" }, { "id": "459176", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~ahmed.mohamed20320] could you please report that issue on the [GitHub issue tracker|https://github.com/appcelerator/titanium_mobile/issues/new/choose], it doesn't look to be related to this iOS 15 issue as it occurs for me on iOS 14 also", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-11-18T12:31:56.000+0000", "updated": "2021-11-18T12:31:56.000+0000" }, { "id": "459179", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "Yes i tested it again with 10.0.2.GA and it didn't work so it not related to this issue. I will report it", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2021-11-18T17:54:26.000+0000", "updated": "2021-11-18T17:54:26.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }