From d87900e05c68249dbfe918f30edc4fdf6b62bb85 Mon Sep 17 00:00:00 2001 From: Moritz Heckmann Date: Wed, 27 Sep 2023 09:21:05 +0200 Subject: [PATCH] max dropdown height set to 4 items --- src/vis/sidebar/VisTypeSelect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vis/sidebar/VisTypeSelect.tsx b/src/vis/sidebar/VisTypeSelect.tsx index 010ca0273..8940d4556 100644 --- a/src/vis/sidebar/VisTypeSelect.tsx +++ b/src/vis/sidebar/VisTypeSelect.tsx @@ -54,6 +54,7 @@ export function VisTypeSelect({ callback, currentSelected }: VisTypeSelectProps) onChange={(e) => callback(e as ESupportedPlotlyVis)} name="visTypes" itemComponent={SelectItem} + maxDropdownHeight={380} data={visTypes.map((t) => { return { value: t.type,