@floating-ui/utils
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -120,3 +120,3 @@ function getNodeName(node) { | ||
if (isBody) { | ||
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []); | ||
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement ? getOverflowAncestors(win.frameElement) : []); | ||
} | ||
@@ -123,0 +123,0 @@ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor)); |
@@ -126,3 +126,3 @@ (function (global, factory) { | ||
if (isBody) { | ||
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []); | ||
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement ? getOverflowAncestors(win.frameElement) : []); | ||
} | ||
@@ -129,0 +129,0 @@ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor)); |
{ | ||
"name": "@floating-ui/utils", | ||
"version": "0.1.1", | ||
"@rollingversions": { | ||
"baseVersion": [ | ||
0, | ||
1, | ||
0 | ||
] | ||
}, | ||
"version": "0.1.2", | ||
"description": "Utilities for Floating UI", | ||
@@ -12,0 +5,0 @@ "publishConfig": { |
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
52275