The error is thrown when navigate from a page with daypilot scheduler component to another page. I tried calling 'dispose' method from scheduler control but it doesn't work. The version of library is 2021.1.4880 and the config:
{
visible: false,
allowMultiSelect: false,
scale: 'Day',
timeHeaders: [{ groupBy: 'Month' }, { groupBy: 'Day', format: 'd' }],
eventHeight: 25,
rowMinHeight: 25,
rowMarginBottom: 1,
treeEnabled: true,
theme: 'scheduler',
floatingTimeHeaders: false,
treeAnimation: false,
cellWidth: 40,
cellWidthSpec: 'Auto',
cellWidthMin: 20,
crosshairType: 'Full',
groupConcurrentEvents: true,
groupConcurrentEventsLimit: 1,
durationBarVisible: false,
timeRangeSelectedHandling: 'Disabled',
eventMoveHandling: 'Disabled',
eventResizeHandling: 'Disabled',
eventDeleteHandling: 'Disabled',
eventClickHandling: 'Select',
eventHoverHandling: 'Bubble',
zoom: 0,
zoomLevels: [
{
name: "AM/PM",
properties: {
scale: "CellDuration",
cellDuration: 720,
cellWidth: 45,
timeHeaders: [{ groupBy: "Month" }, { groupBy: "Day", format: "d" }, { groupBy: "Cell", format: "tt" }]
}
}
]
}