From a19893cdfa9181eb29319d9046ade7c31f648a84 Mon Sep 17 00:00:00 2001 From: yashkumar18 Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Handle Drag events in replayer (#587) * Handle Drag events in replayer * add touch move source as well Co-authored-by: Yash Kumar --- src/replay/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/replay/index.ts b/src/replay/index.ts index 61ed5b8e..cbcc8fd8 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -783,6 +783,8 @@ export class Replayer { this.applyMutation(d, isSync); break; } + case IncrementalSource.Drag: + case IncrementalSource.TouchMove: case IncrementalSource.MouseMove: if (isSync) { const lastPosition = d.positions[d.positions.length - 1];