fix auto height of virtual list

This commit is contained in:
Preet 2022-03-24 18:04:01 +05:30
parent 9b5b835d82
commit 19c7786388

View File

@ -206,6 +206,7 @@ class SelectComponent extends React.Component<
itemCount={items.length}
itemSize={ITEM_SIZE}
ref={this.listRef}
style={{ height: "auto", maxHeight: 300 }}
width={"100%"}
>
{RowRenderer}