react-resize-detector
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -83,3 +83,9 @@ 'use strict'; | ||
if (getComputedStyle(parent).position === 'static') { | ||
var position = 'static'; | ||
if (parent.currentStyle) { | ||
position = parent.currentStyle.position; | ||
} else if (window.getComputedStyle) { | ||
position = window.getComputedStyle(parent).position; | ||
} | ||
if (position === 'static') { | ||
parent.style.position = 'relative'; | ||
@@ -86,0 +92,0 @@ } |
@@ -50,4 +50,4 @@ { | ||
}, | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"dependencies": {} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15313
280
0