From 9ca2a58ec5f1130108bb5c5d1a48d75b5d6b40d5 Mon Sep 17 00:00:00 2001 From: vineyardbovines Date: Fri, 24 Jul 2026 08:21:53 -0400 Subject: [PATCH] Fix native signup captcha interactions --- src/screens/Signup/index.tsx | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/screens/Signup/index.tsx b/src/screens/Signup/index.tsx index c7f9d11327..4404384fb5 100644 --- a/src/screens/Signup/index.tsx +++ b/src/screens/Signup/index.tsx @@ -1,4 +1,4 @@ -import {useEffect, useReducer, useState} from 'react' +import {type PropsWithChildren, useEffect, useReducer, useState} from 'react' import {AppState, type AppStateStatus, View} from 'react-native' import ReactNativeDeviceAttest from 'react-native-device-attest' import {KeyboardAvoidingView} from 'react-native-keyboard-controller' @@ -132,10 +132,8 @@ export function Signup({onPressBack}: {onPressBack: () => void}) { return ( - + void}) { - + ) } + +function SignupKeyboardAvoidingView({ + children, + enabled, +}: PropsWithChildren<{enabled: boolean}>) { + if (!enabled) { + return {children} + } + + return ( + + {children} + + ) +}