fix iOS crash when closing the app with the SheetView open

This commit is contained in:
Oleksii Bulenok
2026-06-25 15:04:52 +02:00
parent 11eda74a3c
commit baa546a1e0
+2
View File
@@ -99,6 +99,8 @@ class SheetView: ExpoView, UISheetPresentationControllerDelegate {
index: Int
) {
touchHandler?.detach(from: childComponentView)
childComponentView.removeFromSuperview()
if self.innerView === childComponentView {
self.innerView = nil
}