From 4a5a8d469c8ef91ef63c8f84150e79e357dcc2ee Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 22 Aug 2026 22:06:27 +0200 Subject: [PATCH] fix(app): keep compact model options scrollable The compact model sheet had no sheet-aware scroll owner when profiles filled its viewport, leaving the controls below them unreachable. Keep the root provider view inside Gorhom's scroll container so native sheet gestures work on both platforms. --- packages/app/src/components/model-browser.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/model-browser.tsx b/packages/app/src/components/model-browser.tsx index ec8b7513c5..422240c21c 100644 --- a/packages/app/src/components/model-browser.tsx +++ b/packages/app/src/components/model-browser.tsx @@ -13,7 +13,7 @@ import { type StyleProp, type ViewStyle, } from "react-native"; -import { BottomSheetFlatList } from "@gorhom/bottom-sheet"; +import { BottomSheetFlatList, BottomSheetScrollView } from "@gorhom/bottom-sheet"; import { Gesture, GestureDetector } from "react-native-gesture-handler"; import { StyleSheet, withUnistyles } from "react-native-unistyles"; import { @@ -1455,7 +1455,19 @@ function ModelBrowserContent({ return scrolling === "independent" ? ( {allProvidersContent} ) : ( - allProvidersContent + + {allProvidersContent} + ); }