search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler: Cannot read property 'y' of null

Asked by Anonymous
1 year ago.

I discovered the following error in the developer console:

TypeError: Cannot read property 'y' of null
    at HTMLDocument.<anonymous> (daypilot-core.js:34)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
    at Object.onInvokeTask (core.js:17290)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
    at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
    at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
    at invokeTask (zone.js:1744)
    at HTMLDocument.globalZoneAwareCallback (zone.js:1781)

It's interesting because the error occured while I'm choosing an item from a dropdown box inside a modal dialog, that has nothing to do with the scheduler. I'm using the latest sandbox version 2020.4.4820.


Answer posted by Dan Letecky [DayPilot]
1 year ago.

This can happen if you enable keyboard access with keyboardTarget = 'document' and hit enter before focusing a grid cell. It should be fixed now in the latest sandbox build (2020.4.4821).

Comment posted by Anonymous
1 year ago.

Thank you. The bug doesn't occure anymore in the latest sandbox build (2020.4.4821)

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.