solid-dismiss
Advanced tools
Comparing version 1.6.71 to 1.6.72
@@ -39,6 +39,4 @@ import { untrack, createComputed, createSignal, children, batch, } from "solid-js"; | ||
const getElement = (type, el) => { | ||
if (type === "overlay") | ||
return el; | ||
if (appendToElement) { | ||
if (appendToElement === "menuPopup") { | ||
if (appendToElement === "menuPopup" && type !== "overlay") { | ||
return queryElement({ containerEl: el }, { inputElement: null, type: "menuPopup" }); | ||
@@ -45,0 +43,0 @@ } |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.6.71", | ||
"version": "1.6.72", | ||
"homepage": "https://aquaductape.github.io/solid-dismiss/", | ||
@@ -5,0 +5,0 @@ "description": "Handles \"click outside\" behavior for popup menu. Closing is triggered by click/focus outside of popup element or pressing \"Escape\" key.", |
Sorry, the diff of this file is too big to display
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
350523
4721