react-window 1.8.8 → 1.8.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-window",
3
- "version": "1.8.8",
3
+ "version": "1.8.10",
4
4
  "description": "React components for efficiently rendering large, scrollable lists and tabular data",
5
5
  "author": "Brian Vaughn <brian.david.vaughn@gmail.com> (https://github.com/bvaughn/)",
6
6
  "contributors": [
@@ -580,7 +580,7 @@ export default function createListComponent({
580
580
  return {
581
581
  isScrolling: true,
582
582
  scrollDirection:
583
- prevState.scrollOffset < scrollLeft ? 'forward' : 'backward',
583
+ prevState.scrollOffset < scrollOffset ? 'forward' : 'backward',
584
584
  scrollOffset,
585
585
  scrollUpdateWasRequested: false,
586
586
  };