This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
apps/client/src/widgets/view_widgets
docs/Release Notes/Release Notes Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ export default class CalendarView extends ViewMode {
165165 locale : await CalendarView . #getLocale( ) ,
166166 height : "100%" ,
167167 nowIndicator : true ,
168+ handleWindowResize : false ,
168169 eventDidMount : ( e ) => {
169170 const { iconClass, promotedAttributes } = e . event . extendedProps ;
170171
@@ -233,6 +234,9 @@ export default class CalendarView extends ViewMode {
233234 calendar . render ( ) ;
234235 this . calendar = calendar ;
235236
237+ new ResizeObserver ( ( ) => calendar . updateSize ( ) )
238+ . observe ( this . $calendarContainer [ 0 ] ) ;
239+
236240 return this . $root ;
237241 }
238242
Original file line number Diff line number Diff line change 2626* [ Random EPERM: operation not permitted on Windows] ( https://github.com/TriliumNext/Notes/issues/249 )
2727* [ The update button is sometimes blank] ( https://github.com/TriliumNext/Notes/pull/1975 ) by @SiriusXT
2828* [ Unable to handle multi line mathematical formulas when importing markdown] ( https://github.com/TriliumNext/Notes/pull/1984 ) by @SiriusXT
29+ * Calendar: became invisible if resizing while not visible
2930
3031## ✨ Improvements
3132
You can’t perform that action at this time.
0 commit comments