From ab3c1714830e0f0d8b5f003a854402dc27cb1a7d Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Tue, 20 Jun 2023 23:57:39 +0800 Subject: Fix path mapping issues --- frontend/src/components/inputs/FileBrowser.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontend') diff --git a/frontend/src/components/inputs/FileBrowser.tsx b/frontend/src/components/inputs/FileBrowser.tsx index 96325cda6..38c8a6776 100644 --- a/frontend/src/components/inputs/FileBrowser.tsx +++ b/frontend/src/components/inputs/FileBrowser.tsx @@ -83,6 +83,9 @@ export const FileBrowser: FunctionComponent = ({ placeholder="Click to start" data={data} value={value} + // Temporary solution of infinite dropdown items, fix later + limit={NaN} + maxDropdownHeight={240} filter={(value, item) => { if (item.value === backKey) { return true; -- cgit v1.2.3