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

Scheduler TypeError when right-clicking on a link between events

Asked by Szymon
2 years ago.

Hello,

There seems to be an issue with the core library when using DayPilot Scheduler for Angular (see attached image).

> The error appears in the console when right-clicking on any link between events
> The context menu appears fine and callbacks do get executed
> Found first in a live app, then confirmed in a sample app from DayPilot's documentation
> The context menu does not appear in our live app due to the error and custom error handlers, which makes this issue more problematic
> DayPilot Pro 2021.3.5055

As a temporary fix we have found that removing the onMouseUp event listener from the link element prevents the error from being thrown, but that is definitely not the best way to deal with the problem.

Any support with the issue is appreciated, thanks!

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

This issue should be fixed now in the latest release (2021.4.5165):

https://javascript.daypilot.org/daypilot-pro-for-javascript-2021-4-5165/

Please let me know if there is any problem.

Comment posted by Szymon
2 years ago.

Thank you very much Dan for the response.

I will let you know if the issue persists after upgrading.

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