Skip to content

Commit

Permalink
fix: reset the isOverlayClicked value after overlayVisibleState is se…
Browse files Browse the repository at this point in the history
…t to false. (#6921)
  • Loading branch information
KumJungMin authored Jul 25, 2024
1 parent c514128 commit adbd050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,7 @@ export const Calendar = React.memo(
if (props.hideOnRangeSelection && endDate !== null) {
setTimeout(() => {
setOverlayVisibleState(false);
isOverlayClicked.current = false;
}, 150);
}
} else {
Expand Down

0 comments on commit adbd050

Please sign in to comment.