Fix sample picker sheet opening
This commit is contained in:
1 parent
493a969ca8
commit
091e940013
1 file changed
+1
-2
@@ -115,7 +115,7 @@ export function InstrumentSelector({ onSelectInstrument }: InstrumentSelectorPro
|
|||||||
className="instrument-picker-modal"
|
className="instrument-picker-modal"
|
||||||
isOpen={isPickerOpen}
|
isOpen={isPickerOpen}
|
||||||
breakpoints={PICKER_SHEET_BREAKPOINTS}
|
breakpoints={PICKER_SHEET_BREAKPOINTS}
|
||||||
initialBreakpoint={0.82}
|
initialBreakpoint={1}
|
||||||
expandToScroll={false}
|
expandToScroll={false}
|
||||||
handle
|
handle
|
||||||
onDidDismiss={handlePickerDidDismiss}
|
onDidDismiss={handlePickerDidDismiss}
|
||||||
@@ -129,7 +129,6 @@ export function InstrumentSelector({ onSelectInstrument }: InstrumentSelectorPro
|
|||||||
value={searchQuery}
|
value={searchQuery}
|
||||||
debounce={0}
|
debounce={0}
|
||||||
showClearButton="always"
|
showClearButton="always"
|
||||||
onIonFocus={() => void modalRef.current?.setCurrentBreakpoint(1)}
|
|
||||||
onIonInput={(event) => handleSearchInput(event.detail.value)}
|
onIonInput={(event) => handleSearchInput(event.detail.value)}
|
||||||
onIonClear={() => handleSearchInput('')}
|
onIonClear={() => handleSearchInput('')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user