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

Cannot set properties of null (setting 'innerHTML') on disposed instance

Asked by Leo
9 hours ago.

Hi Dan,

We’re seeing a lot of Uncaught TypeError: Cannot set properties of null (setting 'innerHTML') errors in our console logs. While the users are not impacted, we’d love our logs to be clean.

It appears to happen in the code where you call _hideLinkpoints async on a timer (setTimeout), and we have disposed the DayPilot instance already.

This is the exact code triggering the issue:

linktools._hideLinkpoints = function () {
   calendar.divLinkpoints.innerHTML = '';
   calendar.elements.linkpoints = [];
};

Most likely, the timers are not disposed when disposing the DayPilot instance itself?

Cheers
Leo

Answer posted by Dan Letecky [DayPilot]
9 hours ago.

This should be fixed now in the latest sandbox build (2026.2.6904).

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):