diff --git a/ios/src_library/React Native/RNIModalView/RNIModalView.swift b/ios/src_library/React Native/RNIModalView/RNIModalView.swift index 5d05a945..e0e9806c 100644 --- a/ios/src_library/React Native/RNIModalView/RNIModalView.swift +++ b/ios/src_library/React Native/RNIModalView/RNIModalView.swift @@ -30,7 +30,7 @@ class RNIModalView: UIView, RNIModalFocusNotifying, RNIModalIdentity, // MARK: - Properties - RNIModalFocusNotifying // ------------------------------------------- - var modalFocusDelegate: RNIModalFocusNotifiable!; + weak var modalFocusDelegate: RNIModalFocusNotifiable!; // MARK: - Properties - RNIModalIdentity // ------------------------------------- diff --git a/src/components/ModalView/ModalView.tsx b/src/components/ModalView/ModalView.tsx index b97f4109..e63317c4 100644 --- a/src/components/ModalView/ModalView.tsx +++ b/src/components/ModalView/ModalView.tsx @@ -150,7 +150,7 @@ export class ModalView extends isModalContentLazy ?? true ), shouldEnableAggressiveCleanup: ( - shouldEnableAggressiveCleanup ?? false + shouldEnableAggressiveCleanup ?? true ), // B - Pass down...