Skip to content

Commit 9712b01

Browse files
authored
Merge pull request Expensify#67085 from huult/66637-search-page-background-preview
fix search page opens in background during attachment preview
2 parents 102db0c + 62ecbaa commit 9712b01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/pages/media/AttachmentModalScreen/AttachmentModalContainer

src/pages/media/AttachmentModalScreen/AttachmentModalContainer/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function AttachmentModalContainer({contentProps, modalType, onShow, onClose, sho
6161
return contentProps.submitRef.current;
6262
}}
6363
shouldHandleNavigationBack={shouldHandleNavigationBack}
64+
onClose={closeModal}
6465
>
6566
<AttachmentModalBaseContent
6667
// eslint-disable-next-line react/jsx-props-no-spreading

0 commit comments

Comments
 (0)