diff --git a/packages/gestalt-datepicker/src/DatePicker/InternalDatePicker.tsx b/packages/gestalt-datepicker/src/DatePicker/InternalDatePicker.tsx index b7128d3fec..499b464af0 100644 --- a/packages/gestalt-datepicker/src/DatePicker/InternalDatePicker.tsx +++ b/packages/gestalt-datepicker/src/DatePicker/InternalDatePicker.tsx @@ -164,12 +164,10 @@ const InternalDatePickerWithForwardRef = forwardRef { if (controlledValue === undefined) setUncontrolledValue(value); - if (event !== undefined) { - onChange({ event, value }); - if (event.type === 'click') { - nextRef?.current?.focus(); - onSelect?.(); - } + onChange({ event, value }); + if (event?.type === 'click') { + nextRef?.current?.focus(); + onSelect?.(); } }} onKeyDown={(event) => {