Skip to content

Commit

Permalink
feat: better Search interaction defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
MengLinMaker committed Oct 29, 2024
1 parent 9c503a5 commit 133e245
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/search/search-root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ export function SearchRoot<
return (
<SearchContext.Provider value={context}>
<ComboboxBase
forceMount
shouldFocusWrap
noResetInputOnBlur
allowsEmptyCollection={noResultExists()}
options={local.options as any}
value={value() as any}
Expand Down

0 comments on commit 133e245

Please sign in to comment.