New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-virtualized

Package Overview
Dependencies
Maintainers
1
Versions
297
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtualized - npm Package Compare versions

Comparing version 5.5.3-rc2 to 5.5.3

5

CHANGELOG.md
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) {

3

dist/commonjs/Grid/Grid.js

@@ -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();

@@ -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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc