rc-resize-observer
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -16,6 +16,6 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
var sizeRef = React.useRef({ | ||
width: 0, | ||
height: 0, | ||
offsetWidth: 0, | ||
offsetHeight: 0 | ||
width: -1, | ||
height: -1, | ||
offsetWidth: -1, | ||
offsetHeight: -1 | ||
}); // ============================= Ref ============================== | ||
@@ -22,0 +22,0 @@ |
@@ -34,6 +34,6 @@ "use strict"; | ||
var sizeRef = React.useRef({ | ||
width: 0, | ||
height: 0, | ||
offsetWidth: 0, | ||
offsetHeight: 0 | ||
width: -1, | ||
height: -1, | ||
offsetWidth: -1, | ||
offsetHeight: -1 | ||
}); // ============================= Ref ============================== | ||
@@ -40,0 +40,0 @@ |
{ | ||
"name": "rc-resize-observer", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Resize observer for React", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
34161