Premium support for our pure JavaScript UI components


Post by vasyl obukh »

Hi,
Could you please help with an issue with the Calendar that we faced with after updating from 5.4.0 to 5.6.6.?
Previously, if we returned false from onBeforeDragCreateEnd (based on some constraints), the calendar event wasn't created. With the latest version, the event doesn't get removed, though when checking calendar.events it's not added there, so it's only a visual bug (video #1).
Is there a way to force refresh the calendar to remove that event as it's not in the eventStore or it could only be fixed on your side?

We also do the same validation in onBeforeDragResizeEnd and there if false is returned event reverts to the previous state correctly (video #2).

Attachments
Screen Recording 2024-02-16 at 9.16.37 AM.mov
(3.67 MiB) Downloaded 12 times
Screen Recording 2024-02-16 at 9.15.24 AM.mov
(5.46 MiB) Downloaded 14 times

Post by Animal »


Post by Animal »

Actually, it looks like the event add is vetoed. Just the element is not being cleared up. Navigating next week, then prev week shows that the event is not in fact there when false is returned from that handler.


Post Reply