Open hughess opened 2 weeks ago
Dropdown list height is fixed at 160px, leaving a gap under the options when the list is small:
This is set in this snippet in Dropdown.svelte:
Dropdown.svelte
<VirtualList height="160px" items={$items} let:item> <DropdownOption value={item.value} valueLabel={item.label} /> </VirtualList>
It may be possible to do something like:
<VirtualList height="{$items.length * 30}px" items={$items} let:item> <DropdownOption value={item.value} valueLabel={item.label} /> </VirtualList>
Dropdown list height is fixed at 160px, leaving a gap under the options when the list is small:
This is set in this snippet in
Dropdown.svelte
:It may be possible to do something like: