diff --git a/app/onyx/repo/RepoSection.tsx b/app/onyx/repo/RepoSection.tsx index 8a91ddcd..fbb94a76 100644 --- a/app/onyx/repo/RepoSection.tsx +++ b/app/onyx/repo/RepoSection.tsx @@ -1,5 +1,5 @@ import React, { useState } from "react" -import { Modal, Text, TextInput, TouchableOpacity, View, Pressable, ScrollView } from "react-native" +import { Modal, Text, TextInput, TouchableOpacity, View, Pressable, ScrollView, KeyboardAvoidingView, Platform } from "react-native" import { observer } from "mobx-react-lite" import { Ionicons } from "@expo/vector-icons" import { useStores } from "../../models/_helpers/useStores" @@ -86,14 +86,20 @@ export const RepoSection = observer(({ visible, onClose }: RepoSectionProps) => visible={visible} onRequestClose={onClose} > - - - - + + {/* This view is needed to make sure the close button doesn't get covered by the keyboard */} + + + + + Configure AutoCoder @@ -250,7 +256,7 @@ export const RepoSection = observer(({ visible, onClose }: RepoSectionProps) => ))} - + ) }) \ No newline at end of file diff --git a/docs/hierarchy.md b/docs/hierarchy.md index 8131be3b..c41d2bb7 100644 --- a/docs/hierarchy.md +++ b/docs/hierarchy.md @@ -51,7 +51,6 @@ ├── ChatOverlayPrev.tsx ├── ConfigureModal.tsx ├── OnyxLayout.tsx - ├── RepoSection.tsx ├── TextInputModal.tsx ├── VoiceInputModal.styles.ts ├── VoiceInputModal.tsx @@ -61,6 +60,10 @@ ├── ToolInvocation.tsx ├── index.ts ├── styles.ts + ├── repo + ├── RepoSection.tsx + ├── styles.ts + ├── types.ts ├── styles.ts ├── screens ├── ErrorScreen