You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 theitemSize
function. However, a valueitemSize
is initially required. If I give it a value, then theclientHeight
will always be that value.Can anyone point me in the right direction? Much appreciated, thanks!
The text was updated successfully, but these errors were encountered: