diff --git a/src/inputs/internal/VirtualizedOptions.tsx b/src/inputs/internal/VirtualizedOptions.tsx index fa5c33152..4fa3dcf9d 100644 --- a/src/inputs/internal/VirtualizedOptions.tsx +++ b/src/inputs/internal/VirtualizedOptions.tsx @@ -64,7 +64,7 @@ export function VirtualizedOptions(props: VirtualizedOptionsProps) { // otherwise render just 1 row. A better way to do this would be to jest.mock // out Virtuoso with an impl that just rendered everything, but doing this for now. initialItemCount: items.length, - key: items.length, + itemsCount: items.length, } : { // Ensure the selected item is visible when the list renders