Skip to content

Commit

Permalink
fix crash on manual request
Browse files Browse the repository at this point in the history
  • Loading branch information
hungvu193 committed Oct 11, 2023
1 parent 36f26e8 commit 5663024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OptionsSelector/BaseOptionsSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class BaseOptionsSelector extends Component {
this.subscribeToKeyboardShortcut();

if (this.props.isFocused && this.props.autoFocus && this.textInput) {
setTimeout(() => {
this.focusTimeout = setTimeout(() => {
this.textInput.focus();
}, CONST.ANIMATED_TRANSITION);
}
Expand Down

0 comments on commit 5663024

Please sign in to comment.