Revert "Potential fix for laggy scrolling"

This reverts commit 4f4df5bb32.
This commit is contained in:
Scott Nonnenberg 2022-07-08 08:19:48 -07:00
parent 664181cf9c
commit 2816b2f06f

View file

@ -1,14 +0,0 @@
diff --git a/node_modules/react-virtualized/dist/commonjs/Grid/Grid.js b/node_modules/react-virtualized/dist/commonjs/Grid/Grid.js
index 0b46931..2972cef 100644
--- a/node_modules/react-virtualized/dist/commonjs/Grid/Grid.js
+++ b/node_modules/react-virtualized/dist/commonjs/Grid/Grid.js
@@ -864,7 +864,8 @@ function (_React$PureComponent) {
(0, _requestAnimationTimeout.cancelAnimationTimeout)(this._disablePointerEventsTimeoutId);
}
- this._disablePointerEventsTimeoutId = (0, _requestAnimationTimeout.requestAnimationTimeout)(this._debounceScrollEndedCallback, scrollingResetTimeInterval);
+ this._debounceScrollEndedCallback();
+ // this._disablePointerEventsTimeoutId = (0, _requestAnimationTimeout.requestAnimationTimeout)(this._debounceScrollEndedCallback, 0);
}
}, {
key: "_handleInvalidatedGridSize",