Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height and multiple option components #29

Open
martinkadlec0 opened this issue Mar 4, 2020 · 1 comment
Open

Height and multiple option components #29

martinkadlec0 opened this issue Mar 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@martinkadlec0
Copy link

martinkadlec0 commented Mar 4, 2020

Hey, I have a select that can show multiple different option components. Each type has a different height. Is there a place somewhere where I can get the option object and set height accordingly so it would work with react-window? To simplify, the options could look like

[
{label: 'Foo', value: 'foo', height: 10},
{label: 'Foo', value: 'foo', height: 10},
{label: 'Foo', value: 'foo', height: 20},
{label: 'Foo', value: 'foo', height: 20},
]
@jacobworrel
Copy link
Owner

@martinkadlec0 This is not supported currently but I suggest submitting a PR. Thanks!

@jacobworrel jacobworrel added the enhancement New feature or request label Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants