diff --git a/packages/app/src/screens/settings/plugins-page.test.tsx b/packages/app/src/screens/settings/plugins-page.test.tsx index 0ede3f803b..8a502749db 100644 --- a/packages/app/src/screens/settings/plugins-page.test.tsx +++ b/packages/app/src/screens/settings/plugins-page.test.tsx @@ -80,6 +80,7 @@ vi.mock("@gorhom/bottom-sheet", async () => { await vi.importActual("react-native"); return { BottomSheetBackdrop: () => null, + BottomSheetHandle: () => null, BottomSheetModal: ReactModule.forwardRef(() => null), BottomSheetScrollView: ScrollView, BottomSheetTextInput: TextInput, diff --git a/packages/app/src/screens/workspace/workspace-sheet-host.tsx b/packages/app/src/screens/workspace/workspace-sheet-host.tsx index b7d97b1f0c..967afb6561 100644 --- a/packages/app/src/screens/workspace/workspace-sheet-host.tsx +++ b/packages/app/src/screens/workspace/workspace-sheet-host.tsx @@ -24,6 +24,7 @@ import { type SheetHeader, } from "@/components/adaptive-modal-sheet"; import { systemBackPress } from "@/components/ui/isolated-bottom-sheet-modal"; +import { RetainedPanelActivity } from "@/components/retained-panel"; import { Button } from "@/components/ui/button"; import type { PanelIconProps } from "@/panels/panel-registry"; import { getPanelRegistration } from "@/panels/panel-registry"; @@ -250,12 +251,15 @@ function WorkspaceSheetPresentation({ onChange={handleChange} accessible={false} > - + {/* A covered sheet keeps its state but stops its live work until it is on top again. */} + + +