solid-dismiss
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -88,5 +88,5 @@ import { isServer } from "solid-js/web"; | ||
// TODO if it already has id, then update button with aria-controls value | ||
if (!el.id) { | ||
el.id = state.uniqueId; | ||
} | ||
// if (!el.id) { | ||
// el.id = state.uniqueId; | ||
// } | ||
el.style.pointerEvents = "all"; | ||
@@ -93,0 +93,0 @@ el.setAttribute("role", "dialog"); |
@@ -259,3 +259,3 @@ import { dismissStack } from "../global/dismissStack"; | ||
state.menuBtnEls.forEach((menuBtnEl, _, self) => { | ||
addAriaLabels(state, menuBtnEl); | ||
// addAriaLabels(state, menuBtnEl); | ||
// menuBtnEl.removeAttribute("type"); | ||
@@ -262,0 +262,0 @@ // menuBtnEl.setAttribute("role", 'div'); |
{ | ||
"name": "solid-dismiss", | ||
"version": "1.7.0", | ||
"version": "1.7.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 too big to display
Sorry, the diff of this file is not supported yet
351447
4711