From 719ef75f3dfb697c53c007dfb28d8c5c34cd5c34 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sun, 4 Jan 2026 10:55:26 +0700 Subject: [PATCH] fix(agent-list): use gesture-handler FlatList for scroll compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Import FlatList from react-native-gesture-handler instead of react-native so it properly coordinates with parent gesture handlers. This allows vertical scrolling inside the sidebar while still supporting swipe-to-close. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- packages/app/src/components/agent-list.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/components/agent-list.tsx b/packages/app/src/components/agent-list.tsx index 89eff0711..67733c4bd 100644 --- a/packages/app/src/components/agent-list.tsx +++ b/packages/app/src/components/agent-list.tsx @@ -1,4 +1,5 @@ -import { View, Text, Pressable, FlatList, Modal, RefreshControl, type ListRenderItem } from "react-native"; +import { View, Text, Pressable, Modal, RefreshControl, type ListRenderItem } from "react-native"; +import { FlatList } from "react-native-gesture-handler"; import { useCallback, useMemo, useState } from "react"; import { router, usePathname } from "expo-router"; import { StyleSheet, useUnistyles } from "react-native-unistyles";