Skip to content

Commit b80c568

Browse files
authored
fix: freeze when blurred to avoid off-screen re-renders on room open (#7404)
1 parent d3fed42 commit b80c568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/stacks/InsideStack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const ChatsStackNavigator = () => {
100100
const { theme } = useContext(ThemeContext);
101101
return (
102102
<ChatsStack.Navigator screenOptions={{ ...defaultHeader, ...themedHeader(theme) }}>
103-
<ChatsStack.Screen name='RoomsListView' component={RoomsListView} />
103+
<ChatsStack.Screen name='RoomsListView' component={RoomsListView} options={{ freezeOnBlur: true }} />
104104
<ChatsStack.Screen name='RoomView' component={RoomView} />
105105
<ChatsStack.Screen name='RoomActionsView' component={RoomActionsView} options={RoomActionsView.navigationOptions} />
106106
{/* @ts-ignore */}

0 commit comments

Comments
 (0)