react-functional-select
react-functional-select copied to clipboard
Switch to VariableSizeList
See issue: https://github.com/based-ghost/react-functional-select/issues/26
This PR proposes support for variable sizes of menu items/options.
I'm open to ideas on other ways to implement this or changes to the public API. This is a breaking change to the API so that should be considered. API changes:
-
itemSize
renamed togetItemSize
and is now a function -
fixedSizeListRef
renamed tovariableSizeListRef
![Screen Shot 2021-04-26 at 3 10 28 PM](https://user-images.githubusercontent.com/5375799/116137434-8bc7ba80-a6a1-11eb-959e-0a2af8992fb2.png)