fix(grid-entry): fix rowVirtualizer not proper refresh when view change (#3645)

* fix(grid-entry): fix rowVirtualizer not proper refresh when view change

* fix(grid-entry): fix measureRef defined but not proper use
This commit is contained in:
Cason Kervis 2025-05-06 16:34:22 +08:00 committed by GitHub
parent 8dee78d51d
commit eb98f898e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ const VirtualGridImpl: FC<
rowVirtualizer.measure()
columnVirtualizer.measure()
}
measureRef.current?.()
}, [columnVirtualizer, measureRef, rowVirtualizer])
const virtualItems = rowVirtualizer.getVirtualItems()