Closed gilemon closed 2 months ago
Ok, I found in the doc:
Note that event-drag-create gets fired on mouseup of the drag-create, whereas onEventCreate gets called as soon as the event appears on screen, while dragging.
So I'm know using the event-drag-create which return an event with correct end Date.
When using the following template code:
The on-event-create callback is triggered at first click not when the mouse is released. As a result the end time is not correct. It's just adding 1 minute to the first time selected by the beginning of the drag an release.
Example console log for a selection from 2024-09-19T10:00:00 to 2024-09-19T11:00:00.00:
This is happening with "vue-cal": "^4.9.0". Any idea why?