From 6ec8d111c0ac0d8593af1e671547a4d1f7ddd1e3 Mon Sep 17 00:00:00 2001 From: Max Lapides Date: Tue, 10 Nov 2026 18:53:19 -0800 Subject: [PATCH 1/2] fix(ios): present navigator sheets opened under a fullScreenModal A full-screen modal takes the views under it out of the window. A sheet-navigator sheet is hosted beside its base screen, so a sheet route opened while the base shows a fullScreenModal never registered with the module or found a presenter: it never appeared, dismiss() rejected with SHEET_NOT_FOUND, and the half-open route swallowed the modal's back action. Register hosts on mount, and when the modal covering a windowless host was presented by a stack the host isn't part of, present in that modal's window. Sheets inside the covered stack still wait for their screen. The bare example's sheet navigator gets a fullScreenModal repro screen. --- .../bare/src/navigators/SheetNavigator.tsx | 29 ++++++++++ example/bare/src/types.ts | 1 + ios/TrueSheetView.mm | 53 +++++++++++++++---- 3 files changed, 72 insertions(+), 11 deletions(-) diff --git a/example/bare/src/navigators/SheetNavigator.tsx b/example/bare/src/navigators/SheetNavigator.tsx index dff719431..99391f83b 100644 --- a/example/bare/src/navigators/SheetNavigator.tsx +++ b/example/bare/src/navigators/SheetNavigator.tsx @@ -40,11 +40,35 @@ const HomeScreen = () => {