diff --git a/src/public/app/widgets/buttons/calendar.js b/src/public/app/widgets/buttons/calendar.js index da4312793..388f8cb61 100644 --- a/src/public/app/widgets/buttons/calendar.js +++ b/src/public/app/widgets/buttons/calendar.js @@ -128,7 +128,10 @@ export default class CalendarWidget extends RightDropdownButtonWidget { else { toastService.showError(t("calendar.cannot_find_day_note")); } - }); + }); + + // Prevent dismissing the calendar popup by clicking on an empty space inside it. + this.$dropdownContent.on("click", (e) => e.stopPropagation()); } manageFirstDayOfWeek() {