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

Cannot read properties of null (reading 'offsetHeight')

Asked by Tarun
29 days ago.

I am using daypilot-pro-angular version-2019.4.4101.
I have a scheduler on my template page and when I moved back to my list page, I got two console errors in the daypilot-pro-angular.js
1) ERROR TypeError: Cannot read properties of null (reading 'offsetHeight')
at e (daypilot-angular.min.js:29:19176)
2) ERROR TypeError: Cannot read properties of null (reading 'scrollLeft')
at DayPilot.Scheduler.getViewPort (daypilot-angular.min.js:25:14957)
at daypilot-angular.min.js:31:22164

Before moving back to list page, i removed the id's of the scheduler.
Any ideas on what is causing this?

Answer posted by Dan Letecky [DayPilot]
29 days ago.

It looks like one of the event handlers survived the component destroy phase and it is trying to access DOM elements that were already removed. That should be fixed already - could you please give it a try using the latest version?

Please let me know if the problem persists.

New Reply
This reply is
Your name (optional):