Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions app/mobile-rn/src/screens/ChatScreen.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Pressable, ScrollView, Text, TextInput, View } from 'react-native';
import { KeyboardAvoidingView, Platform, Pressable, ScrollView, Text, TextInput, View } from 'react-native';
import { useState } from 'react';
import type { TranscriptBlock } from '@agenthub/shared/transcript';

Expand Down Expand Up @@ -231,7 +231,10 @@ export function ChatScreen({
const [evidenceSheetVisible, setEvidenceSheetVisible] = useState(false);

return (
<View style={{ flex: 1, backgroundColor: tokens.color.panel }}>
<KeyboardAvoidingView
style={{ flex: 1, backgroundColor: tokens.color.panel }}
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
>
<ChatHeader activeRun={activeRun} showBack={showBack} onBack={onBack} thread={thread} {...(onToggleInspector ? { onToggleInspector } : {})} />
<ChatTabs />
<ScrollView
Expand Down Expand Up @@ -288,7 +291,7 @@ export function ChatScreen({
visible={evidenceSheetVisible}
onClose={() => setEvidenceSheetVisible(false)}
/>
</View>
</KeyboardAvoidingView>
);
}
function ChatHeader({
Expand Down