[Angular] CheckCollision always return true


I try to use checkCollision function when I add my event (using an external drag and drop). It always return true even when onEventCollision isn’t thrown.

let eventContent = {

start_date : new Date(start_date),

end_date : new Date(2044,0),

section_id : section,

text : " ",

color : color,

textColor : "black"

let collision = this.scheduler.checkCollision(eventContent)

I don’t find any solution to this problem (using scheduler commercial v5.3.11). Hope someone could help me to resolve it ! :smiley:

checkCollision method returns false value, if the event time has already been occupied, and returns true when there is no collision. When you try to drag the event inside of some already occupied time slot, onEventCollision handler will prevent it.
Please check the example:
https://snippet.dhtmlx.com/i4omfhpf ;
And here is an example with external drag:
https://snippet.dhtmlx.com/njwafadh ;
If it doesn’t help you, please add your configuration in the snippet above and make sure that the issue is reproduced there.
Then, click on the Save button and send me the link. Or send me a ready demo with all the necessary JavaScript and CSS files so that I can reproduce the issue locally.