react-virtualized
Advanced tools
Comparing version 6.2.1 to 6.2.2
Changelog | ||
------------ | ||
##### 6.2.2 | ||
Fixed off-by-one for `InfiniteLoader` that caused it to request one too many rows when scrolled to the end of the list. | ||
##### 6.2.1 | ||
@@ -5,0 +8,0 @@ `FlexTable` supports `true`, `false`, `undefined`, and `null` children now to more easily enable support for dynamic columns (see issue #174). |
@@ -69,4 +69,4 @@ "use strict"; | ||
var low = 0; | ||
var middle = undefined; | ||
var currentOffset = undefined; | ||
var middle = void 0; | ||
var currentOffset = void 0; | ||
@@ -73,0 +73,0 @@ // TODO Add better guards here against NaN offset |
@@ -81,3 +81,3 @@ 'use strict'; | ||
startIndex: Math.max(0, startIndex - threshold), | ||
stopIndex: Math.min(rowsCount, stopIndex + threshold) | ||
stopIndex: Math.min(rowsCount - 1, stopIndex + threshold) | ||
}); | ||
@@ -84,0 +84,0 @@ |
@@ -63,4 +63,4 @@ /** | ||
var low = 0; | ||
var middle = undefined; | ||
var currentOffset = undefined; | ||
var middle = void 0; | ||
var currentOffset = void 0; | ||
@@ -67,0 +67,0 @@ // TODO Add better guards here against NaN offset |
@@ -60,3 +60,3 @@ | ||
startIndex: Math.max(0, startIndex - threshold), | ||
stopIndex: Math.min(rowsCount, stopIndex + threshold) | ||
stopIndex: Math.min(rowsCount - 1, stopIndex + threshold) | ||
}); | ||
@@ -63,0 +63,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"user": "bvaughn", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"homepage": "https://github.com/bvaughn/react-virtualized", | ||
@@ -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 not supported yet
883479