Improves drag and drop conversion behavior
Resets scroll state and stops edge scrolling when a drag event converts between all-day and timed events, preventing unexpected scrolling behavior during conversion.
This commit is contained in:
parent
3fd42f1f9b
commit
1d04f0ce0a
3 changed files with 23 additions and 1 deletions
|
|
@ -91,7 +91,6 @@ export class DateEventRenderer implements EventRendererStrategy {
|
|||
*/
|
||||
public handleDragMove(payload: DragMoveEventPayload): void {
|
||||
|
||||
console.log('handleDragMove', payload)
|
||||
const swpEvent = payload.draggedClone as SwpEventElement;
|
||||
const columnDate = this.dateService.parseISO(payload.columnBounds!!.date);
|
||||
swpEvent.updatePosition(columnDate, payload.snappedY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue