We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fd3075 commit 161a787Copy full SHA for 161a787
packages/vkui/src/components/CalendarTime/CalendarTime.tsx
@@ -195,9 +195,9 @@ export const CalendarTime = ({
195
[],
196
);
197
198
- const onSelectInputKeyDown = (e: React.KeyboardEvent) => {
+ const onSelectInputKeyDown = (e: React.KeyboardEvent, isOpen: boolean) => {
199
onPickerKeyDown(e);
200
- stopPropagationOfEscapeKeyboardEventWhenSelectIsOpen(e, false);
+ stopPropagationOfEscapeKeyboardEventWhenSelectIsOpen(e, isOpen);
201
};
202
203
const renderDoneButton = () => {
0 commit comments