And another example which seems complex and I have no idea how it works or how to adapt it to the above example: https://codesandbox.io/s/bugreact-window-dynamic-size-list-djegq. Seems like this example uses DynamicSizeList which is not officially released yet?
In the official documentation example the itemSize is not content aware:
I am trying to figure out how to do it using the below code (which is based on the official
react-window-infinite-loader
example although I've refactored it to be hook based).The below code has
VariableSizeList
,AutoSizer
andInfiniteLoader
which display data from an API.Here is the above code in a working codesandbox link.
How to get the rows to not overlap?
I found one code example which seems to result in overlapping rows: https://codesandbox.io/s/yw4ok6l69z
And another example which seems complex and I have no idea how it works or how to adapt it to the above example: https://codesandbox.io/s/bugreact-window-dynamic-size-list-djegq. Seems like this example uses
DynamicSizeList
which is not officially released yet?