makeup-listbox
Advanced tools
Comparing version
@@ -70,3 +70,3 @@ "use strict"; | ||
} | ||
this._activeDescendant = ActiveDescendant.createLinear(this._activeDescendantRootEl, this._options.focusableElement || this._listboxEl, this._listboxEl, "[role=option]", { | ||
this._activeDescendant = ActiveDescendant.createLinear(this._activeDescendantRootEl, this._options.focusableElement || this._listboxEl, this._listboxEl.parentElement, "[role=option]", { | ||
activeDescendantClassName: this._options.activeDescendantClassName, | ||
@@ -73,0 +73,0 @@ autoInit: this._options.autoInit, |
@@ -54,3 +54,3 @@ import * as ActiveDescendant from "makeup-active-descendant"; | ||
this._options.focusableElement || this._listboxEl, | ||
this._listboxEl, | ||
this._listboxEl.parentElement, | ||
"[role=option]", | ||
@@ -57,0 +57,0 @@ { |
{ | ||
"name": "makeup-listbox", | ||
"description": "A JavaScript class representing an ARIA listbox", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"main": "./dist/cjs/index.js", | ||
@@ -23,3 +23,3 @@ "module": "./dist/mjs/index.js", | ||
"dependencies": { | ||
"makeup-active-descendant": "^0.7.5", | ||
"makeup-active-descendant": "^0.7.6", | ||
"makeup-prevent-scroll-keys": "^0.3.3" | ||
@@ -36,3 +36,3 @@ }, | ||
], | ||
"gitHead": "66ba8f5998b1d9364dc4c8cc56663e8e517ed289" | ||
"gitHead": "a1f2b4fae1b5d4d5e8345be5ebd52295800f144a" | ||
} |
18643
0.15%