Last Updated: 26 Sep 2023 13:14 by ADMIN
Created on: 06 Jun 2023 16:13
Category: DateTimePicker
Type: Bug Report
DateTimePicker with AdaptiveMode.Auto occasionally throws when zooming in or out

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.



Hristian Stefanov
Posted on: 26 Sep 2023 13:14

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.

Hristian Stefanov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Posted on: 21 Sep 2023 06:37

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.