Implements edge scrolling functionality

Adds edge scrolling to automatically scroll the calendar
when dragging an event near the edges of the view.

This improves the drag-and-drop experience by allowing users
to move events beyond the visible area.

Removes auto-scroll logic from the event renderer, centralizing
the scrolling behavior within the new edge scroll manager.
This commit is contained in:
Janus C. H. Knudsen 2025-10-12 09:21:32 +02:00
parent 40b19a092c
commit 8df1f6c4f1
5 changed files with 139 additions and 25 deletions

View file

@ -14,6 +14,7 @@ export interface CalendarManagers {
dragDropManager: unknown; // Avoid interface conflicts
allDayManager: unknown; // Avoid interface conflicts
resizeHandleManager: ResizeHandleManager;
edgeScrollManager: unknown; // Avoid interface conflicts
}
/**