diff --git a/src/createListComponent.js b/src/createListComponent.js index a99ab118..86aa643d 100644 --- a/src/createListComponent.js +++ b/src/createListComponent.js @@ -580,7 +580,7 @@ export default function createListComponent({ return { isScrolling: true, scrollDirection: - prevState.scrollOffset < scrollLeft ? 'forward' : 'backward', + prevState.scrollOffset < scrollOffset ? 'forward' : 'backward', scrollOffset, scrollUpdateWasRequested: false, };