Skip to content

Commit

Permalink
Double the "About" text box's height (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis authored Nov 4, 2023
1 parent 6a12df3 commit 0587aae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/option-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ const TextLong = forwardRef((props: InputProps<OptionGroupTextLong>, ref) => {
autoFocus={true}
onChangeText={onChangeInputValue}
onSubmitEditing={submit}
numberOfLines={8}
/>
{props.input?.textLong?.invalidMsg &&
<DefaultText
Expand Down
2 changes: 1 addition & 1 deletion components/otp-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const OtpInput = (props: Props) => {
isFocused: false,
}))
);
const inputRefs = useRef([]);
const inputRefs = useRef<any>([]);

const copyStateObj = (stateObj: State) => {
return stateObj.map(digitState => ({...digitState}));
Expand Down
1 change: 1 addition & 0 deletions components/profile-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ const AboutPerson = ({navigation, data}) => {
<DefaultLongTextInput
defaultValue={data?.about ?? ''}
onChangeText={onChangeAboutText}
numberOfLines={8}
/>
</View>
);
Expand Down

0 comments on commit 0587aae

Please sign in to comment.