Found a bug on https://github.com/bvaughn/react-window/pull/102, if my items are exactly height 50
(the estimatedItemSize
value) they will all render on top of each other:
If they have any different height (e.g. 49
or 51
) it works:
Ah, interesting edge case. This only holds true if _every_ item is the exact same size as the estimated size. In this case, the list assumes there are no updates to be made. It's not handling the case where content has been rendered for the first time though.
Fixed in 13d48ad.
@bvaughn is this fix part of 1.6.0-alpha.1?
Most helpful comment
Fixed in 13d48ad.