Skip to content

Commit

Permalink
Merge pull request #28451 from ZhenjaHorbach/fix/distance-replace-pop…
Browse files Browse the repository at this point in the history
…up-closes-after-image-on-esc
  • Loading branch information
dangrous authored Oct 5, 2023
2 parents 567c32e + 4d0e9cb commit 30c2a3d
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 @@ -394,7 +394,7 @@ function AttachmentModal(props) {
shouldShowBackButton={props.isSmallScreenWidth}
onBackButtonPress={closeModal}
onCloseButtonPress={closeModal}
shouldShowThreeDotsButton={isAttachmentReceipt}
shouldShowThreeDotsButton={isAttachmentReceipt && isModalOpen}
threeDotsAnchorPosition={styles.threeDotsPopoverOffsetAttachmentModal(windowWidth)}
threeDotsMenuItems={threeDotsMenuItems}
shouldOverlay
Expand Down

0 comments on commit 30c2a3d

Please sign in to comment.