@nomad-e/bluma-cli 0.24.1 → 0.24.2
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.
- package/dist/main.js +4 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -45500,6 +45500,10 @@ function useVirtualScroll(scrollRef, itemKeys, columns) {
|
|
|
45500
45500
|
const range = useMemo7(() => {
|
|
45501
45501
|
if (n === 0) return [0, 0];
|
|
45502
45502
|
if (viewportHeight <= 0) {
|
|
45503
|
+
if (isSticky) {
|
|
45504
|
+
const lo3 = Math.max(0, n - COLD_START_COUNT);
|
|
45505
|
+
return [lo3, n];
|
|
45506
|
+
}
|
|
45503
45507
|
return [0, Math.min(n, COLD_START_COUNT)];
|
|
45504
45508
|
}
|
|
45505
45509
|
const absScrollTop = Math.abs(scrollTop);
|