File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,11 +140,10 @@ function handleKeydown(event: KeyboardEvent) {
140140 :leave-to-class =" prefersReducedMotion ? '' : 'opacity-0'"
141141 >
142142 <ul
143- v-show =" isOpen"
143+ v-if =" isOpen"
144144 :id =" listboxId"
145145 ref =" listRef"
146146 role =" listbox"
147- :aria-hidden =" !isOpen"
148147 data-testid =" package-manager-dropdown"
149148 :aria-activedescendant ="
150149 highlightedIndex >= 0
Original file line number Diff line number Diff line change @@ -196,11 +196,10 @@ watch(
196196 :leave-to-class =" prefersReducedMotion ? '' : 'opacity-0'"
197197 >
198198 <div
199- v-show =" isOpen"
199+ v-if =" isOpen"
200200 :id =" listboxId"
201201 ref =" listRef"
202202 role =" listbox"
203- :aria-hidden =" !isOpen"
204203 :aria-activedescendant ="
205204 highlightedIndex >= 0 && toc[highlightedIndex]?.id
206205 ? `${listboxId}-${toc[highlightedIndex]?.id}`
You can’t perform that action at this time.
0 commit comments