@adobe/react-virtualized
Advanced tools
Comparing version 9.22.6 to 9.22.7
@@ -30,13 +30,7 @@ 'use strict'; | ||
if (scrollDirection === SCROLL_DIRECTION_FORWARD) { | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount) | ||
}; | ||
} else { | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex - overscanCellsCount), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex) | ||
}; | ||
} | ||
// TODO: Move to application. Making buffer cells in both directions | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex - overscanCellsCount), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount) | ||
}; | ||
} |
@@ -22,15 +22,9 @@ | ||
if (scrollDirection === SCROLL_DIRECTION_FORWARD) { | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount) | ||
}; | ||
} else { | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex - overscanCellsCount), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex) | ||
}; | ||
} | ||
// TODO: Move to application. Making buffer cells in both directions | ||
return { | ||
overscanStartIndex: Math.max(0, startIndex - overscanCellsCount), | ||
overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount) | ||
}; | ||
} | ||
import { bpfrpt_proptype_OverscanIndicesGetterParams } from './types'; | ||
import { bpfrpt_proptype_OverscanIndices } from './types'; |
@@ -6,3 +6,3 @@ { | ||
"user": "bvaughn", | ||
"version": "9.22.6", | ||
"version": "9.22.7", | ||
"homepage": "https://github.com/AdobeXD/react-virtualized.git", | ||
@@ -9,0 +9,0 @@ "main": "dist/commonjs/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1115637
22097