Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "tooltip", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Tooltip manager", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -36,3 +36,4 @@ 'use strict'; | ||
opacity: 0 | ||
} | ||
}, | ||
alignPositions: null | ||
} | ||
@@ -39,0 +40,0 @@ |
@@ -57,5 +57,8 @@ 'use strict'; | ||
var scrollTop = document.body.scrollTop || 0 | ||
var scrollLeft = document.body.scrollLeft || 0 | ||
setStyle(el, style, config.visibleStyle, { | ||
top : elRegion.top, | ||
left: elRegion.left | ||
top : elRegion.top + scrollTop, | ||
left: elRegion.left + scrollLeft | ||
}) | ||
@@ -62,0 +65,0 @@ } |
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
164316
4037
0