If you are zooming a page containing a DateTimePicker with "AdaptiveMode" set to "AdaptiveMode.Auto", the application crashes occasionally with the error:
Microsoft.JSInterop.JSException: Cannot read properties of null (reading 'addEventListener') TypeError: Cannot read properties of null (reading 'addEventListener')
The more adaptive DateTimePicker instances the page contains, the more likely the error is to occur.
Hi Alexander,
Thank you for sharing additional cases in which the problem appears.
I confirm that the status of this item is still marked as "Unplanned." This means that there isn't a specific timeline assigned to it yet.
Nevertheless, as we transfer the task to our short-term backlog, the status will be updated to "Planned" along with an associated release number. This release number will indicate the upcoming release in which the fix will be implemented.
To stay updated on the progress of this item, I encourage you to subscribe to it. By doing so, you will receive email notifications for any status updates.
Regards,
Hristian Stefanov
Progress Telerik
Any update on this? We also found that zooming is not the only way to trigger this exception – merely resizing the window can also cause this:
The dialog that can be seen includes a few `TelerikDateTimePicker` components. When shrinking and expanding the browser window again, the application crashes with the same error that occurs sometimes when zooming.