diff --git a/ios/Podfile.lock b/ios/Podfile.lock index c138d1b27f61..f489ec290755 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2606,7 +2606,7 @@ SPEC CHECKSUMS: SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 Turf: 13d1a92d969ca0311bbc26e8356cca178ce95da2 VisionCamera: 1394a316c7add37e619c48d7aa40b38b954bf055 - Yoga: 64cd2a583ead952b0315d5135bf39e053ae9be70 + Yoga: 1b901a6d6eeba4e8a2e8f308f708691cdb5db312 PODFILE CHECKSUM: 66a5c97ae1059e4da1993a4ad95abe5d819f555b diff --git a/src/hooks/useAutoFocusInput.ts b/src/hooks/useAutoFocusInput.ts index c1f58901cee0..2e2d9a086ab1 100644 --- a/src/hooks/useAutoFocusInput.ts +++ b/src/hooks/useAutoFocusInput.ts @@ -49,6 +49,9 @@ export default function useAutoFocusInput(): UseAutoFocusInput { const inputCallbackRef = (ref: TextInput | null) => { inputRef.current = ref; + if (isInputInitialized) { + return; + } setIsInputInitialized(true); };