Skip to content

Commit

Permalink
Merge pull request #8443 from mollfpr/fix-7853
Browse files Browse the repository at this point in the history
workaround to hide blue border box on ReportActionItem
  • Loading branch information
tgolen authored Apr 1, 2022
2 parents 088dfbb + 21ab943 commit b60a75c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ class ReportActionItem extends Component {
onPressOut={() => ControlSelection.unblock()}
onSecondaryInteraction={this.showPopover}
preventDefaultContentMenu={!this.props.draftMessage}

onKeyDown={(event) => {
// Blur the input after a key is pressed to keep the blue focus border from appearing
event.target.blur();
}}
>
<Hoverable resetsOnClickOutside>
{hovered => (
Expand Down

0 comments on commit b60a75c

Please sign in to comment.