v148 · HTML · Drag and Drop · Pointer Events

State Machine Visualiser

See the pointer-event-to-drag-event state machine. When a drag starts, Chrome 148 sends a pointercancel event to signal the pointer stream has ended — matching the spec. Interact with the drag source and watch the state transitions in real time.

State machine

Current state: idle
Drag me — watch the state machine and log below
Interact with the element above…

Event sequence

Chrome 148 aligns with the spec by sending pointercancel when drag starts.

EventWhenChrome 148Pre-148
pointerdownMouse/touch pressedSameFired
pointermoveMoving before drag thresholdSameFired
pointercancelDrag operation startsNEW — spec correctNot fired
dragstartDrag operation startsSameFired
pointermove (during drag)During dragSuppressed (correct)Still fired
pointerupAfter dropSuppressed (correct)Sometimes fired
dragendDrag endsSameFired

references

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗