Potential fix for laggy scrolling
This commit is contained in:
parent
778f3721a6
commit
4f4df5bb32
1 changed files with 14 additions and 0 deletions
14
patches/react-virtualized+9.22.3.patch
Normal file
14
patches/react-virtualized+9.22.3.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
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",
|
Loading…
Reference in a new issue