Skip to content

Commit

Permalink
Merge pull request #33366 from Krishna2323/krishna2323/issue/33170
Browse files Browse the repository at this point in the history
fix: Settings - Focus shifts to first digit on shortcut & back.
  • Loading branch information
nkuoch authored Dec 21, 2023
2 parents 8970aa3 + 2bb4d0c commit 9ce52d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function BaseValidateCodeForm(props) {
if (focusTimeoutRef.current) {
clearTimeout(focusTimeoutRef.current);
}
focusTimeoutRef.current = setTimeout(inputValidateCodeRef.current.focus, CONST.ANIMATED_TRANSITION);
focusTimeoutRef.current = setTimeout(inputValidateCodeRef.current.focusLastSelected, CONST.ANIMATED_TRANSITION);
return () => {
if (!focusTimeoutRef.current) {
return;
Expand Down

0 comments on commit 9ce52d1

Please sign in to comment.