Skip to content

Commit 5548f3a

Browse files
committed
Comment computeWindowedRenderLimits reset behaviour;
1 parent 947191f commit 5548f3a

File tree

1 file changed

+2
-0
lines changed
  • packages/react-native-web/src/vendor/react-native/VirtualizedList

1 file changed

+2
-0
lines changed

packages/react-native-web/src/vendor/react-native/VirtualizedList/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,8 @@ class VirtualizedList extends React.PureComponent<Props, State> {
17181718
);
17191719

17201720
// revert the state if calculations are off
1721+
// this would only happen on the inverted flatlist (probably a bug with overscroll-behavior)
1722+
// when scrolled from bottom all the way up until onEndReached is triggered
17211723
if (newState.first === newState.last) {
17221724
newState = state
17231725
}

0 commit comments

Comments
 (0)