Skip to content

Commit

Permalink
Merge pull request Expensify#9212 from sobitneupane/sn_bug-close-draw…
Browse files Browse the repository at this point in the history
…er-on-download

Close Drawer or popup after pressing Download
  • Loading branch information
neil-marcellini authored May 31, 2022
2 parents bc571f3 + 3853017 commit bed9d6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export default [
let {sourceURL} = attachmentDetails;
sourceURL = addEncryptedAuthTokenToURL(sourceURL);
fileDownload(sourceURL, originalFileName);
if (closePopover) {
hideContextMenu(true, ReportActionComposeFocusManager.focus);
}
},
getDescription: () => {},
},
Expand Down

0 comments on commit bed9d6e

Please sign in to comment.