get-window-offset
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -31,6 +31,8 @@ "use strict"; | ||
while (thisParent.nodeName != "BODY") { | ||
var _thisParent; | ||
if (thisParent.dataset.overflow) { | ||
return thisParent; | ||
} | ||
var overflowX = (0, _getStyle["default"])(thisParent, "overflow-x"); | ||
var overflowY = (0, _getStyle["default"])(thisParent, "overflow-y"); | ||
if ("visible" !== overflowY || "visible" !== overflowX || (_thisParent = thisParent) !== null && _thisParent !== void 0 && (_thisParent = _thisParent.dataset) !== null && _thisParent !== void 0 && _thisParent.overflow) { | ||
if ("visible" !== overflowY || "visible" !== overflowX) { | ||
var oScroll = (0, _getScrollInfo["default"])(thisParent); | ||
@@ -37,0 +39,0 @@ if (oScroll.top || oScroll.left) { |
{ | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"name": "get-window-offset", | ||
@@ -4,0 +4,0 @@ "repository": { |
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
2327
73281