Skip to content

Commit f8769f1

Browse files
authored
Update bug fix in #1642 to also reset isScrolling (#1648)
After further testing, I've found that after `handleWindowScrollEvent` is called we also need to force the `isScrolling` state variable to turn back to false (otherwise there might be issues with rendering rows that depend on `isScrolling`).
1 parent 940cc65 commit f8769f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/WindowScroller/WindowScroller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export default class WindowScroller extends React.PureComponent<Props, State> {
124124

125125
if (this.props.updateScrollTopOnUpdatePosition === true) {
126126
this.__handleWindowScrollEvent();
127+
this.__resetIsScrolling();
127128
}
128129
}
129130

0 commit comments

Comments
 (0)