Skip to content

Commit

Permalink
Merge pull request #22549 from jayeshmangwani/feat_refocus_composer_o…
Browse files Browse the repository at this point in the history
…n_pin_unpin

Refocus composer on pin/unpin press from LHN context menu
  • Loading branch information
Beamanator authored Jul 11, 2023
2 parents 882026d + dd2428c commit e299de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default [
onPress: (closePopover, {reportID}) => {
Report.togglePinnedState(reportID, false);
if (closePopover) {
hideContextMenu(false);
hideContextMenu(false, ReportActionComposeFocusManager.focus);
}
},
getDescription: () => {},
Expand All @@ -311,7 +311,7 @@ export default [
onPress: (closePopover, {reportID}) => {
Report.togglePinnedState(reportID, true);
if (closePopover) {
hideContextMenu(false);
hideContextMenu(false, ReportActionComposeFocusManager.focus);
}
},
getDescription: () => {},
Expand Down

0 comments on commit e299de5

Please sign in to comment.