Fixes all-day event dragging issues
Addresses issues with dragging all-day events, ensuring correct event placement and layout calculations after a drag and drop operation. Specifically, ensures the correct event ID is used and updates the event layout when dragging all day events.
This commit is contained in:
parent
89e8a3f7b2
commit
576367974b
2 changed files with 6 additions and 2 deletions
|
|
@ -250,6 +250,7 @@ export class SwpAllDayEventElement extends BaseEventElement {
|
|||
const endDateStr = this.event.end.toISOString().split('T')[0];
|
||||
this.element.dataset.start = `${startDateStr}T00:00:00`;
|
||||
this.element.dataset.end = `${endDateStr}T23:59:59`;
|
||||
this.element.dataset.allday = 'true';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue