Skip to content

Commit b7cfdff

Browse files
committed
Fix onRequestClose
1 parent ecfdeb8 commit b7cfdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/incubator/Dialog/ImperativeDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const ImperativeDialog = (props: ImperativeDialogProps, ref: any) => {
104104
useGestureHandlerRootView
105105
visible={visible}
106106
onBackgroundPress={ignoreBackgroundPress ? undefined : onBackgroundPress}
107-
onRequestClose={onBackgroundPress}
107+
onRequestClose={ignoreBackgroundPress ? undefined : onBackgroundPress}
108108
onDismiss={undefined}
109109
>
110110
{FadeView}

0 commit comments

Comments
 (0)