From 621fa1dff6e8957b75956fc443ccb72cb9c7795d Mon Sep 17 00:00:00 2001 From: duogenesis <136373989+duogenesis@users.noreply.github.com> Date: Sat, 4 Nov 2023 16:06:27 +1100 Subject: [PATCH] Double the "About" text box's height --- components/option-screen.tsx | 1 + components/otp-input.tsx | 2 +- components/profile-tab.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/option-screen.tsx b/components/option-screen.tsx index 68c42e23..31524cfb 100644 --- a/components/option-screen.tsx +++ b/components/option-screen.tsx @@ -469,6 +469,7 @@ const TextLong = forwardRef((props: InputProps, ref) => { autoFocus={true} onChangeText={onChangeInputValue} onSubmitEditing={submit} + numberOfLines={8} /> {props.input?.textLong?.invalidMsg && { isFocused: false, })) ); - const inputRefs = useRef([]); + const inputRefs = useRef([]); const copyStateObj = (stateObj: State) => { return stateObj.map(digitState => ({...digitState})); diff --git a/components/profile-tab.tsx b/components/profile-tab.tsx index 0c8c8a41..f110ebc2 100644 --- a/components/profile-tab.tsx +++ b/components/profile-tab.tsx @@ -198,6 +198,7 @@ const AboutPerson = ({navigation, data}) => { );