Skip to content

Commit

Permalink
fix: modals for chats closing due to keyboard clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Jan 6, 2025
1 parent 5f26330 commit 2c70689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/ChatMenu/ChatsDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const ChatsDrawer: React.FC<ChatsDrawerProps> = ({ booleans: [showModal, setShow
data={data}
keyExtractor={(item) => item.id.toString()}
renderItem={({ item, index }) => renderChat(item, index)}
showsVerticalScrollIndicator={false}
removeClippedSubviews={false}
/>
<TouchableOpacity onPress={handleCreateChat} style={styles.newButton}>
<Text style={{ color: Style.getColor('primary-surface2') }}>New Chat</Text>
Expand Down

0 comments on commit 2c70689

Please sign in to comment.