Patch Changes
-
#1301
ce57b78- fix(react-virtual): positiondirectDomUpdatesrows that mount without the owner re-renderingRows were only positioned by the owner's layout effect or the next
onChange. A row mounted by a child that re-renders on its own (local state, context, a resolved Suspense boundary) skipped both when it was fixed-size, and stayed unpositioned until the range changed. Rows are now positioned as they register throughmeasureElement, andcontainerRefpositions the rows that mounted together with the container. -
Updated dependencies [
43675bc,9df47a3,c644f10,2a631f4]:- @tanstack/virtual-core@3.18.0