emit mouse interaction event during replay

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 9466c4dca7
commit 7d4b2ad3e0

View File

@@ -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) {