We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb9318f commit 99912caCopy full SHA for 99912ca
src/libs/focusComposerWithDelay/index.ts
@@ -33,7 +33,7 @@ function focusComposerWithDelay(textInput: InputType | null): FocusComposerWithD
33
return;
34
}
35
// When the closing modal has a focused text input focus() needs a delay to properly work.
36
- InteractionManager.runAfterInteractions(() => textInput.focus());
+ setTimeout(() => textInput.focus(), 0);
37
if (forcedSelectionRange) {
38
setTextInputSelection(textInput, forcedSelectionRange);
39
0 commit comments