Skip to content

Commit 60d115e

Browse files
committed
fix: thread scrreen issue with keyboard controller
1 parent 6560ccd commit 60d115e

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

examples/SampleApp/src/screens/ThreadScreen.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ const ThreadHeader: React.FC<ThreadHeaderProps> = ({ thread }) => {
6464

6565
return (
6666
<ScreenHeader
67-
inSafeArea
6867
subtitleText={typing ? typing : `with ${subtitleText}`}
6968
titleText='Thread Reply'
7069
/>
@@ -116,7 +115,7 @@ export const ThreadScreen: React.FC<ThreadScreenProps> = ({
116115
}, [setThread]);
117116

118117
return (
119-
<SafeAreaView style={[styles.container, { backgroundColor: white }]}>
118+
<SafeAreaView edges={['bottom']} style={[styles.container, { backgroundColor: white }]}>
120119
<Channel
121120
audioRecordingEnabled={true}
122121
AttachmentPickerSelectionBar={CustomAttachmentPickerSelectionBar}
@@ -130,10 +129,8 @@ export const ThreadScreen: React.FC<ThreadScreenProps> = ({
130129
thread={thread}
131130
threadList
132131
>
133-
<View style={styles.container}>
134-
<ThreadHeader thread={thread} />
135-
<Thread onThreadDismount={onThreadDismount} />
136-
</View>
132+
<ThreadHeader thread={thread} />
133+
<Thread onThreadDismount={onThreadDismount} />
137134
</Channel>
138135
</SafeAreaView>
139136
);

0 commit comments

Comments
 (0)