Skip to content

Commit

Permalink
💫 Update: RNIModalManager.notifyOnModalWillShow
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 22, 2023
1 parent 710501f commit 1b52460
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/src_library/React Native/RNIModal/RNIModalManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ extension RNIModalManager: RNIModalPresentationNotifiable {

presentedModalList.forEach {
guard $0 !== sender,
$0.modalFocusState.state.isFocusedOrFocusing
$0.modalFocusState.state.isFocusedOrFocusing ||
$0.modalFocusState.state.isBlurring
else { return };

#if DEBUG
Expand Down

0 comments on commit 1b52460

Please sign in to comment.