Hello,
there is a problem with the calendar widget, when the calendar resized.
We have SectionStack with 3 sections. The calendar is in the second section. Section 1 + 3 are closed, section 2 is open and shows some events in the calendar.
Now I open section 1 and call a filterData on the calendar, so that some events will disapear from the calendar. Then I close the first section.
Now I get a problem in Calendar::sizeEventWindow: (see screenshot CalendarBug)
"Uncaught TypeError: Cannot read property 'undefined' of null"
The problem is, that because poolEventWindows=true, the eventsWindows was not deleted, when the dataChanged.
layoutChildren iterate over all children of the canvas (here the weekView), but the not visible children have event=null.
Sie also the StackTrace in the attached files.
Thanks
Peter
there is a problem with the calendar widget, when the calendar resized.
We have SectionStack with 3 sections. The calendar is in the second section. Section 1 + 3 are closed, section 2 is open and shows some events in the calendar.
Now I open section 1 and call a filterData on the calendar, so that some events will disapear from the calendar. Then I close the first section.
Now I get a problem in Calendar::sizeEventWindow: (see screenshot CalendarBug)
"Uncaught TypeError: Cannot read property 'undefined' of null"
The problem is, that because poolEventWindows=true, the eventsWindows was not deleted, when the dataChanged.
layoutChildren iterate over all children of the canvas (here the weekView), but the not visible children have event=null.
Sie also the StackTrace in the attached files.
Thanks
Peter
Comment