Skip to content

Commit

Permalink
fix: move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Aug 7, 2023
1 parent 4a38b11 commit 42bf664
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/home/report/ReportActionCompose.js
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,8 @@ class ReportActionCompose extends React.Component {
<AttachmentPicker>
{({openPicker}) => {
const triggerAttachmentPicker = () => {
// Set a flag to block suggestion calculation until we're finished using the file picker,
// which will stop any flickering as the file picker opens on non-native devices.
if (this.willBlurTextInputOnTapOutside) {
this.shouldBlockEmojiCalc = true;
this.shouldBlockMentionCalc = true;
Expand Down

0 comments on commit 42bf664

Please sign in to comment.