We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a6947d commit f04e48aCopy full SHA for f04e48a
1 file changed
components/lib/calendar/Calendar.js
@@ -39,7 +39,7 @@ export const Calendar = React.memo(
39
40
useGlobalOnEscapeKey({
41
callback: () => {
42
- hide();
+ hide(null, reFocusInputField);
43
},
44
when: overlayVisibleState && overlayDisplayOrder,
45
priority: [ESC_KEY_HANDLING_PRIORITIES.OVERLAY_PANEL, overlayDisplayOrder]
0 commit comments