Skip to content

Commit c5a54c4

Browse files
author
Hector Arce De Las Heras
committed
OnCalendar close was not being calling when clicking outside calendar
1 parent 1006b51 commit c5a54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/inputDate/components/popoverCalendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const PopoverCalendarComponent = (
5757
]}
5858
trapFocusInsideModal={true}
5959
variant={props.styles?.[props.state]?.popoverVariant?.[device]}
60-
onCloseInternally={() => props.onCalendarOpen}
60+
onCloseInternally={() => props.onCalendarOpen?.(false)}
6161
>
6262
{isActionBottomSheet ? (
6363
<ActionBottomSheet

0 commit comments

Comments
 (0)