@scbt-ecom/ui 0.90.2 → 0.90.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19051,7 +19051,7 @@ class oj {
|
|
|
19051
19051
|
if (!i)
|
|
19052
19052
|
return;
|
|
19053
19053
|
const o = this.itemSizeCache.get(i.key) ?? i.size, s = r - o;
|
|
19054
|
-
s !== 0 && ((this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(i, s, this) :
|
|
19054
|
+
s !== 0 && ((this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(i, s, this) : i.start < this.getScrollOffset() + this.scrollAdjustments) && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", s), this._scrollToOffset(this.getScrollOffset(), {
|
|
19055
19055
|
adjustments: this.scrollAdjustments += s,
|
|
19056
19056
|
behavior: void 0
|
|
19057
19057
|
})), this.pendingMeasuredCacheIndexes.push(i.index), this.itemSizeCache = new Map(this.itemSizeCache.set(i.key, r)), this.notify(!1));
|
|
@@ -45332,4 +45332,4 @@ export {
|
|
|
45332
45332
|
ty as y,
|
|
45333
45333
|
sJ as z
|
|
45334
45334
|
};
|
|
45335
|
-
//# sourceMappingURL=index-
|
|
45335
|
+
//# sourceMappingURL=index-CaH5PSDk.js.map
|