react-base-table
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -5,2 +5,6 @@ # CHANGELOG | ||
## v1.13.1 (2022-05-14) | ||
- fix: optimization render task performance | ||
## v1.13.0 (2021-10-24) | ||
@@ -7,0 +11,0 @@ |
@@ -24,3 +24,9 @@ import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized"; | ||
_proto.scrollTo = function scrollTo(offset) { | ||
if (this.headerRef) this.headerRef.scrollLeft = offset; | ||
var _this2 = this; | ||
if (this.headerRef) { | ||
requestAnimationFrame(function () { | ||
_this2.headerRef.scrollLeft = offset; | ||
}); | ||
} | ||
}; | ||
@@ -27,0 +33,0 @@ |
@@ -45,3 +45,9 @@ "use strict"; | ||
value: function scrollTo(offset) { | ||
if (this.headerRef) this.headerRef.scrollLeft = offset; | ||
var _this2 = this; | ||
if (this.headerRef) { | ||
requestAnimationFrame(function () { | ||
_this2.headerRef.scrollLeft = offset; | ||
}); | ||
} | ||
} | ||
@@ -48,0 +54,0 @@ }, { |
{ | ||
"name": "react-base-table", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"description": "a react table component to display large data set with high performance and flexibility", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
934317
7568
0