Adds edge scroll functionality for drag interactions
Implements EdgeScrollManager to enable automatic scrolling during drag operations Introduces new scroll management system that: - Detects mouse proximity to container edges - Provides variable scroll speed based on mouse position - Compensates dragged elements during scrolling Enhances drag-and-drop user experience with smooth scrolling
This commit is contained in:
parent
8b95f2735f
commit
10d8a444d8
5 changed files with 219 additions and 2 deletions
|
|
@ -37,6 +37,11 @@ export const CoreEvents = {
|
|||
EVENT_DRAG_CANCEL: 'event:drag-cancel',
|
||||
EVENT_DRAG_COLUMN_CHANGE: 'event:drag-column-change',
|
||||
|
||||
// Edge scroll
|
||||
EDGE_SCROLL_TICK: 'edge-scroll:tick',
|
||||
EDGE_SCROLL_STARTED: 'edge-scroll:started',
|
||||
EDGE_SCROLL_STOPPED: 'edge-scroll:stopped',
|
||||
|
||||
// System events
|
||||
ERROR: 'system:error',
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue