From 7d4b2ad3e0c01dd822e61ea745aea4d40f4d5090 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] emit mouse interaction event during replay --- src/replay/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/replay/index.ts b/src/replay/index.ts index 09649289..75007bc5 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -457,6 +457,10 @@ export class Replayer { if (!target) { return this.debugNodeNotFound(d, d.id); } + this.emitter.emit(ReplayerEvents.MouseInteraction, { + type: d.type, + target, + }); switch (d.type) { case MouseInteractions.Blur: if (((target as Node) as HTMLElement).blur) {