Increased number of visible results

Increased total limit to 30.
Increased dropdown height to show more results initially (and which can also be scrolled into view).
After upgrade to next Mantine major version, scrollbars will appear automatically (when that code is uncommented).
This commit is contained in:
JayZed 2024-05-01 17:00:48 -04:00
parent d276f9be5e
commit fd02f44243
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ const Search: FunctionComponent = () => {
size="sm"
data={results}
value={query}
limit={30}
// uncomment following line after upgrade to Mantine 7.x or higher
// scrollAreaProps = {{type: auto}}
maxDropdownHeight={400}
onChange={setQuery}
onBlur={() => setQuery("")}
filter={(value, item) =>