Hi,
You could reproduce the error with this new version of the sample project:
[...]
Try to reproduce the error in the same row like in this video: https://drive.google.com/file/d/1tm1Wb_9pYV_-ok8cD35NOKeJMLsh91OJ/view?usp=sharing
The error is caused by this line
this.scheduler.control.rows.update(this.scheduler.control.rows.find(detailResource.id));
in this event:
onEventEdited: (args) => {
if (args.canceled) {
return;
}
// Omitted
// Update detail row total
let detailResource = this.getResource(args.e.data.resource);
this.scheduler.control.rows.update(this.scheduler.control.rows.find(detailResource.id));
// Omitted
I omitted my code from the event. Basically I add every value the user enters to the total in the frozen rows at the bottom.
There are two other errors, that you can also reproduce with this project
1)
If you keep navigating to the left using <SHIFT> + <TAB> and you reach the first day, you'll get this error in the console. I once got the same error, when I navigated to the last day on the right:
ERROR TypeError: Cannot read properties of undefined (reading 'right')
, but I wasn't able to reproduce it anymore.
core.mjs:6495 ERROR TypeError: Cannot read properties of undefined (reading 'left')
at Object.L.Pr (daypilot-core.js:35:2103)
at Object.L.Rr (daypilot-core.js:35:4718)
at Object.keyboard.move (daypilot-core.js:35:11119)
at DayPilot.Scheduler.onEventEditKeyDown (scheduler.component.ts:231:43)
at HTMLTextAreaElement.n.onkeydown [as __zone_symbol__ON_PROPERTYkeydown] (daypilot-core.js:33:18871)
at HTMLTextAreaElement.wrapFn (zone.js:763:1)
at ZoneDelegate.invokeTask (zone.js:406:1)
at Object.onInvokeTask (core.mjs:25864:33)
at ZoneDelegate.invokeTask (zone.js:405:1)
at Zone.runTask (zone.js:178:1)
2)
If you navigate to right, some days are just skipped and the neighboring day to the right is focused instead. See please this video: https://drive.google.com/file/d/1y3rbfZU58XZGlDEK8OhHPLkIcw9UUYkM/view?usp=sharing