From 091e9400139253c1c55783bc2030d0b69de71a46 Mon Sep 17 00:00:00 2001 From: Ninosaurier Date: Wed, 25 Nov 2026 18:26:51 +0100 Subject: [PATCH] Fix sample picker sheet opening --- src/components/InstrumentSelector.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/InstrumentSelector.tsx b/src/components/InstrumentSelector.tsx index 62d86a9..13c1140 100644 --- a/src/components/InstrumentSelector.tsx +++ b/src/components/InstrumentSelector.tsx @@ -115,7 +115,7 @@ export function InstrumentSelector({ onSelectInstrument }: InstrumentSelectorPro className="instrument-picker-modal" isOpen={isPickerOpen} breakpoints={PICKER_SHEET_BREAKPOINTS} - initialBreakpoint={0.82} + initialBreakpoint={1} expandToScroll={false} handle onDidDismiss={handlePickerDidDismiss} @@ -129,7 +129,6 @@ export function InstrumentSelector({ onSelectInstrument }: InstrumentSelectorPro value={searchQuery} debounce={0} showClearButton="always" - onIonFocus={() => void modalRef.current?.setCurrentBreakpoint(1)} onIonInput={(event) => handleSearchInput(event.detail.value)} onIonClear={() => handleSearchInput('')} />