Skip to content

Commit

Permalink
Add reference to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuuszzzzz committed Feb 5, 2025
1 parent 7058ee0 commit 87fbc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/focusComposerWithDelay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function focusComposerWithDelay(textInput: InputType | null): FocusComposerWithD
return;
}
// When the closing modal has a focused text input focus() needs a delay to properly work.
// Setting 150ms here is a temporary workaround for the Android HybridApp. It should be reverted once we identify the real root cause of the issue.
// Setting 150ms here is a temporary workaround for the Android HybridApp. It should be reverted once we identify the real root cause of this issue: https://github.com/Expensify/App/issues/56311.
setTimeout(() => textInput.focus(), 150);
if (forcedSelectionRange) {
setTextInputSelection(textInput, forcedSelectionRange);
Expand Down

0 comments on commit 87fbc9e

Please sign in to comment.