Skip to content

Commit

Permalink
Fix Replace popup closes after image on ESC
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenjaHorbach committed Sep 29, 2023
1 parent 9795ba4 commit 4d0e9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function AttachmentModal(props) {
shouldShowBackButton={props.isSmallScreenWidth}
onBackButtonPress={closeModal}
onCloseButtonPress={closeModal}
shouldShowThreeDotsButton={isAttachmentReceipt}
shouldShowThreeDotsButton={isAttachmentReceipt && isModalOpen}
threeDotsAnchorPosition={styles.threeDotsPopoverOffsetAttachmentModal(windowWidth)}
threeDotsMenuItems={[
{
Expand Down

0 comments on commit 4d0e9cb

Please sign in to comment.