Skip to content

Commit 4542c6b

Browse files
Kristján Oddssonkeithamus
andauthored
fix: clearSelection flow definition
Co-Authored-By: keithamus <[email protected]>
1 parent efb8941 commit 4542c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

combobox-nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function navigate(
109109
}
110110
}
111111

112-
export function clearSelection(input: HTMLElement | HTMLInputElement, list: HTMLElement): void {
112+
export function clearSelection(input: HTMLTextAreaElement | HTMLInputElement, list: HTMLElement): void {
113113
input.removeAttribute('aria-activedescendant')
114114
const target = list.querySelector('[aria-selected="true"]')
115115
if (!target) return

0 commit comments

Comments
 (0)