solid-dismiss
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -775,2 +775,3 @@ import { isServer, insert, template, delegateEvents, addEventListener, effect, setAttribute, classList, createComponent, mergeProps } from 'solid-js/web'; | ||
const getMenuButton = menuBtnEls => { | ||
if (!menuBtnEls) return undefined; | ||
if (menuBtnEls.length <= 1) return menuBtnEls[0]; | ||
@@ -777,0 +778,0 @@ return menuBtnEls.find(menuBtnEl => { |
@@ -171,2 +171,4 @@ import { dismissStack } from "../global/dismissStack"; | ||
export const getMenuButton = (menuBtnEls) => { | ||
if (!menuBtnEls) | ||
return undefined; | ||
if (menuBtnEls.length <= 1) | ||
@@ -173,0 +175,0 @@ return menuBtnEls[0]; |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"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 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
296263
3994