Dhx_time_block doesn't block in Units View when event resized to blocked-slot-end-time


#1

Hi guys,

I have this weird issue which I assume is a bug in the units view and addMarkedTimespan of type dhx_time_block. I don’t even have to create an example because it is easily reproducible here:
https://docs.dhtmlx.com/scheduler/samples/09_api/04_highlighted_sections_units.html

  1. Switch to Unit view
  2. Create an event above the blocked time slot (i.e. an event for Linda Brown above the orange block).
  3. Resize the event to end exactly at 20:00 which is the dhx_time_block end time.

Result:
The event resizes and stays that way.

Expected result:
Event should revert as it is running through a blocked time slot.

This must be a bug, right? Or am I missing something?


#2

Hello @fxfn ,

Yes, I reproduce this behavior - it looks like an issue on our end, thank you for noticing it!
I sent it to our dev team, and they will work on a fix, unfortunately, there is no ETA, but I will post any updates on this thread.