@github/details-menu-element
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -134,3 +134,3 @@ class DetailsMenuElement extends HTMLElement { | ||
function sibling(details, next) { | ||
const options = Array.from(details.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled]):not([aria-disabled="true"])')); | ||
const options = Array.from(details.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled])')); | ||
const selected = document.activeElement; | ||
@@ -137,0 +137,0 @@ const index = selected instanceof HTMLElement ? options.indexOf(selected) : -1; |
{ | ||
"name": "@github/details-menu-element", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A menu opened with a <details> button.", | ||
@@ -32,2 +32,3 @@ "main": "dist/index.js", | ||
"chai": "^4.3.4", | ||
"chromium": "^3.0.3", | ||
"eslint": "^7.32.0", | ||
@@ -34,0 +35,0 @@ "eslint-plugin-github": "^4.2.0", |
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
17374
12