@launchpad-ui/popover
Advanced tools
Comparing version 0.8.17 to 0.8.18
@@ -95,3 +95,3 @@ import './style.css'; | ||
} | ||
const hasModal = (_a2 = targetRef.current) == null ? void 0 : _a2.closest(".has-modal"); | ||
const hasModal = (_a2 = targetRef.current) == null ? void 0 : _a2.closest(".has-overlay"); | ||
const strategy = isFixed || hasModal ? "fixed" : "absolute"; | ||
@@ -98,0 +98,0 @@ optionsRef.current = { |
@@ -113,3 +113,3 @@ require('./style.css'); | ||
} | ||
const hasModal = (_a2 = targetRef.current) == null ? void 0 : _a2.closest(".has-modal"); | ||
const hasModal = (_a2 = targetRef.current) == null ? void 0 : _a2.closest(".has-overlay"); | ||
const strategy = isFixed || hasModal ? "fixed" : "absolute"; | ||
@@ -116,0 +116,0 @@ optionsRef.current = { |
{ | ||
"name": "@launchpad-ui/popover", | ||
"version": "0.8.17", | ||
"version": "0.8.18", | ||
"status": "beta", | ||
@@ -32,3 +32,3 @@ "publishConfig": { | ||
"@launchpad-ui/focus-trap": "~0.1.1", | ||
"@launchpad-ui/overlay": "~0.3.23", | ||
"@launchpad-ui/overlay": "~0.3.24", | ||
"@launchpad-ui/tokens": "~0.2.0", | ||
@@ -35,0 +35,0 @@ "classix": "^2.1.13", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76358