react-virtualized
Advanced tools
+5
-0
| Changelog | ||
| ------------ | ||
| ##### 5.5.3 | ||
| Added `will-change` property to `Grid` to work around a Chrome bug(?) that caused the entire grid to be repainted whenever a new row or column was added. This was negatively impacting scrolling performance for Chrome under certain conditions. This change is not expected to impact Firefox, Safari, or IE. | ||
| Also trapped scroll events inside of `AutoSizer` so that `sdecima/javascript-detect-element-resize` did not treat them as potential resizes and unnecessarily force a sync DOM layout. | ||
| ##### 5.5.2 | ||
@@ -5,0 +10,0 @@ Removed two unnecessary method calls in `Grid` and replaced them with cached properties. Should offer a minor performance boost. |
@@ -48,2 +48,3 @@ 'use strict'; | ||
| _this._onResize = _this._onResize.bind(_this); | ||
| _this._onScroll = _this._onScroll.bind(_this); | ||
| _this._setRef = _this._setRef.bind(_this); | ||
@@ -97,2 +98,3 @@ return _this; | ||
| ref: this._setRef, | ||
| onScroll: this._onScroll, | ||
| style: outerStyle | ||
@@ -128,2 +130,8 @@ }, | ||
| }, { | ||
| key: '_onScroll', | ||
| value: function _onScroll(event) { | ||
| // Prevent detectElementResize library from being triggered by this scroll event. | ||
| event.stopPropagation(); | ||
| } | ||
| }, { | ||
| key: '_setRef', | ||
@@ -130,0 +138,0 @@ value: function _setRef(autoSizer) { |
@@ -718,5 +718,2 @@ 'use strict'; | ||
| // Prevent detectElementResize library from being triggered by this scroll event. | ||
| event.stopPropagation(); | ||
| // Prevent pointer events from interrupting a smooth scroll | ||
@@ -723,0 +720,0 @@ this._enablePointerEventsAfterDelay(); |
@@ -28,2 +28,3 @@ | ||
| _this._onResize = _this._onResize.bind(_this); | ||
| _this._onScroll = _this._onScroll.bind(_this); | ||
| _this._setRef = _this._setRef.bind(_this); | ||
@@ -77,2 +78,3 @@ return _this; | ||
| ref: this._setRef, | ||
| onScroll: this._onScroll, | ||
| style: outerStyle | ||
@@ -108,2 +110,8 @@ }, | ||
| }, { | ||
| key: '_onScroll', | ||
| value: function _onScroll(event) { | ||
| // Prevent detectElementResize library from being triggered by this scroll event. | ||
| event.stopPropagation(); | ||
| } | ||
| }, { | ||
| key: '_setRef', | ||
@@ -110,0 +118,0 @@ value: function _setRef(autoSizer) { |
@@ -691,5 +691,2 @@ | ||
| // Prevent detectElementResize library from being triggered by this scroll event. | ||
| event.stopPropagation(); | ||
| // Prevent pointer events from interrupting a smooth scroll | ||
@@ -696,0 +693,0 @@ this._enablePointerEventsAfterDelay(); |
+1
-1
@@ -6,3 +6,3 @@ { | ||
| "user": "bvaughn", | ||
| "version": "5.5.3-rc2", | ||
| "version": "5.5.3", | ||
| "homepage": "https://github.com/bvaughn/react-virtualized", | ||
@@ -9,0 +9,0 @@ "main": "dist/commonjs/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
606487
0.23%7196
0.25%0
-100%