Closed astralmedia closed 2 years ago
@astralmedia
Even if the size of the item changes, it cannot be easily detected.
Use the useResizeObserver, observeChildren option or
Try calling the updateItems() method.
That hit the spot! Thank you friend
Description
When I pass new data into the array map that displays the items, it keeps the old positioning and does not reflow the layout to the new content...I've tried so much, any ideas?
Steps to check or reproduce
`return <MasonryInfiniteGrid column={columnCount} gap={5} ref={gridRef} loading={
LOAD
} onRequestAppend={getNextRequest}