wip
This commit is contained in:
parent
1a4c22d37f
commit
9e568fbd8e
4 changed files with 23 additions and 4 deletions
|
|
@ -128,6 +128,8 @@ export class HeaderDrawerRenderer {
|
|||
|
||||
/**
|
||||
* Handle drag end - finalize the item (it stays in header)
|
||||
* Note: EventRenderer handles removing the original element from the grid
|
||||
* via EVENT_DRAG_END with target === 'header'
|
||||
*/
|
||||
private handleDragEnd(): void {
|
||||
if (!this.currentItem) return;
|
||||
|
|
@ -135,10 +137,9 @@ export class HeaderDrawerRenderer {
|
|||
// Remove dragging state
|
||||
this.currentItem.classList.remove('dragging');
|
||||
|
||||
// Item stays - it's now permanent
|
||||
// TODO: Emit event to persist allDay=true change
|
||||
|
||||
// Clear references but leave item in DOM
|
||||
// Clear references
|
||||
this.currentItem = null;
|
||||
this.sourceElement = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue