Issue: Arrow Key Scrolling Not Working in react-select with react-window I am experiencing an issue where I am unable to scroll through the react-select dropdown list using the up and down arrow keys when implementing react-window for virtualization. However, scrolling works correctly when react-window is not used.
Code Snippet: MenuList with Virtualization
const MenuList = React.memo(({ options, children, maxHeight, getValue }) => {
const [value] = getValue();
const height = Math.min(children.length * 40, maxHeight);
const initialOffset = options.indexOf(value) * 40;
return (
<List
height={options.length >= 8 ? maxHeight : height}
itemCount={children.length}
itemSize={40}
initialScrollOffset={initialOffset}
width="100%"
>
{({ index, style }) => <div style={style}>{children[index]}</div>}
</List>
);
});

