@tanstack/virtual-core
Advanced tools
Comparing version 3.10.2 to 3.10.4
@@ -470,3 +470,7 @@ import { debounce, memo, notUndefined, approxEqual } from "./utils.js"; | ||
const index = this.indexFromElement(node); | ||
const key = this.options.getItemKey(index); | ||
const item = this.measurementsCache[index]; | ||
if (!item) { | ||
return; | ||
} | ||
const key = item.key; | ||
const prevNode = this.elementsCache.get(key); | ||
@@ -473,0 +477,0 @@ if (prevNode !== node) { |
{ | ||
"name": "@tanstack/virtual-core", | ||
"version": "3.10.2", | ||
"version": "3.10.4", | ||
"description": "Headless UI for virtualizing scrollable elements in TS/JS + Frameworks", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
@@ -730,4 +730,7 @@ import { approxEqual, debounce, memo, notUndefined } from './utils' | ||
const index = this.indexFromElement(node) | ||
const key = this.options.getItemKey(index) | ||
const item = this.measurementsCache[index] | ||
if (!item) { | ||
return | ||
} | ||
const key = item.key | ||
const prevNode = this.elementsCache.get(key) | ||
@@ -734,0 +737,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193432
2720