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

Dynamic heights on each item #73

Closed
vientang opened this issue Oct 18, 2018 · 2 comments
Closed

Dynamic heights on each item #73

vientang opened this issue Oct 18, 2018 · 2 comments

Comments

@vientang
Copy link

Hi,

What I'm looking to do is have each items height be dynamic based on it's content.

This can be achieved by getting the clientHeight value from the refs of list items, capturing that to state (as an array or map object) and passing that value back to the itemSize function. However, a value itemSize is initially required. If I give it a value, then the clientHeight will always be that value.

Can anyone point me in the right direction? Much appreciated, thanks!

@TrySound
Copy link
Contributor

WIP here #6
You may try alpha here yarn add react-window@next

@bvaughn
Copy link
Owner

bvaughn commented Oct 18, 2018

This overlaps with issue #6, as @TrySound has pointed out. Follow along on that issue for updates 😄it's not supported officially yet.

@bvaughn bvaughn closed this as completed Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants