solid-dismiss
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -23,3 +23,7 @@ import { getMenuButton } from "../local/menuButton"; | ||
} | ||
return inputElement(); | ||
const component = inputElement(); | ||
if (typeof component === "string") { | ||
return state.containerEl?.querySelector(inputElement); | ||
} | ||
return component; | ||
} | ||
@@ -26,0 +30,0 @@ if (inputElement == null && type === "menuPopup") { |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"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
344231
4653