diff --git a/calendar/js/app.js b/calendar/js/app.js index 3aab8a9958..ef46e7b442 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -2396,6 +2396,8 @@ var CalendarApp = /** @class */ (function (_super) { grid.iterateOver(function (widget) { if (row_index >= value.length) return; + // Clear height to make sure there's correct calculations + widget.div.css("height", ""); if (widget.set_show_weekend) { widget.set_show_weekend(view.show_weekend(state.state)); } diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 3001b7b2f2..1e9f18ddf3 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -2752,6 +2752,10 @@ class CalendarApp extends EgwApp row_index = 0; grid.iterateOver(function(widget) { if(row_index >= value.length) return; + + // Clear height to make sure there's correct calculations + widget.div.css("height",""); + if(widget.set_show_weekend) { widget.set_show_weekend(view.show_weekend(state.state));