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 a9063de commit d406427Copy full SHA for d406427
packages/components/src/components/custom-select/custom-select.lite.tsx
@@ -32,7 +32,7 @@ import {
32
GeneralEvent,
33
InputEvent,
34
InteractionEvent,
35
- GeneralKeyboardEvent
+ KeyboardEvent
36
} from '../../shared/model';
37
import {
38
cls,
@@ -407,7 +407,7 @@ export default function DBCustomSelect(props: DBCustomSelectProps) {
407
event.stopPropagation();
408
event.preventDefault();
409
},
410
- handleKeyboardPress: (event: GeneralKeyboardEvent<HTMLInputElement>) => {
+ handleKeyboardPress: (event: KeyboardEvent<HTMLDetailsElement>) => {
411
412
if (event.key === 'Escape' && detailsRef?.open) {
413
state.handleClose(undefined, true);
0 commit comments