Skip to content

Commit d702f0f

Browse files
committed
Call clearselection so attributes are cleared too
1 parent 3e2f971 commit d702f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class Combobox {
4747
}
4848

4949
stop(): void {
50-
this.input.removeAttribute('aria-activedescendant')
50+
this.clearSelection()
5151
this.input.setAttribute('aria-expanded', 'false')
5252
this.input.removeEventListener('compositionstart', this.compositionEventHandler)
5353
this.input.removeEventListener('compositionend', this.compositionEventHandler)

0 commit comments

Comments
 (0)