Chromium browsers: Cannot read properties of null (reading 'client')

Asked by Leo
1 years ago.

Hi there,

In the DayPilot.Scheduler, we’re getting errors in the console from chromium-based browsers:

Cannot read properties of null (reading 'client')

The code around it is

switch(t.eventTapAndHoldHandling){case"Move":if(c.client.moveEnabled()){var v=$(n);ve.ke(i,v)}break;

We’ve seen this error pop up on the following devices & browsers:

  • Android 10, Samsung Internet 28.0

  • Android 10, Chrome Mobile 138.0.0

  • Android 10, Chrome Mobile 137.0.0

  • Linux, Chrome 137.0.0

  • Windows 10, Chrome 137.0.0

  • Windows 10, Edge 137.0.0

  • Android 10, Opera Mobile 90.0.0

Comment posted by Dan Letecky [DayPilot]
1 years ago.

Hi Leo,

Please let me check that.

Comment posted by Dan Letecky [DayPilot]
1 years ago.

I assume that this happens when you try to move an event on touch devices. Unfortunately, I’m not able to reproduce the issue. Do you see this problem in the online demo as well?

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

There is a small delay before the tap-and-hold event action (moving, context menu) is activated (defined by tapAndHoldTimeout). If the event is deleted during this time, you may see this error.

In the latest sandbox build (2025.3.6534), the action is now canceled instead of throwing this error.

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