From baa546a1e05f0beccb5de300d8a0b7637812c93f Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Thu, 25 Jun 2026 15:04:52 +0200 Subject: [PATCH] fix iOS crash when closing the app with the SheetView open --- modules/bottom-sheet/ios/SheetView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/bottom-sheet/ios/SheetView.swift b/modules/bottom-sheet/ios/SheetView.swift index d7920ed95d..ea35526a2c 100644 --- a/modules/bottom-sheet/ios/SheetView.swift +++ b/modules/bottom-sheet/ios/SheetView.swift @@ -99,6 +99,8 @@ class SheetView: ExpoView, UISheetPresentationControllerDelegate { index: Int ) { touchHandler?.detach(from: childComponentView) + + childComponentView.removeFromSuperview() if self.innerView === childComponentView { self.innerView = nil }