We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7ce89 commit 652a325Copy full SHA for 652a325
lib/components/util/dropdown.tsx
@@ -113,7 +113,7 @@ const Dropdown = ({
113
}
114
}, [containerRef])
115
116
- const _handleKeyDown = (e: any): void => {
+ const _handleKeyDown = (e: KeyboardEvent): void => {
117
const element = e.target as HTMLElement
118
switch (e.key) {
119
case 'ArrowUp':
@@ -183,6 +183,7 @@ const Dropdown = ({
183
aria-label={listLabel}
184
aria-labelledby={listLabel ? '' : `${id}-label`}
185
id={id}
186
+ onClick={toggleOpen}
187
role="list"
188
tabIndex={-1}
189
>
0 commit comments