Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/react/virtualized-rows-experimental/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function TableBodyRow({
<tr
data-index={virtualRowIndex} // needed for dynamic row height measurement
ref={node => {
if (node && virtualRowIndex) {
if (node && typeof virtualRowIndex !== 'undefined') {
rowVirtualizer.measureElement(node) // measure dynamic row height
rowRefsMap.current.set(virtualRowIndex, node) // store ref for virtualizer to apply scrolling transforms
}
Expand Down
Loading