Skip to content

Commit adbd050

Browse files
authored
fix: reset the isOverlayClicked value after overlayVisibleState is set to false. (#6921)
1 parent c514128 commit adbd050

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/lib/calendar/Calendar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,7 @@ export const Calendar = React.memo(
17231723
if (props.hideOnRangeSelection && endDate !== null) {
17241724
setTimeout(() => {
17251725
setOverlayVisibleState(false);
1726+
isOverlayClicked.current = false;
17261727
}, 150);
17271728
}
17281729
} else {

0 commit comments

Comments
 (0)