Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/young-timers-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rrweb": bugfix
---

For users of userTriggeredOnInput setting: also set userTriggered to false on Input attribute modifications; this was previously empty this variant of IncrementalSource.Input
5 changes: 4 additions & 1 deletion packages/rrweb/src/record/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,10 @@ function initInputObserver({
{
set() {
// mock to a normal event
eventHandler({ target: this as EventTarget } as Event);
eventHandler({
target: this as EventTarget,
isTrusted: false, // userTriggered to false as this could well be programmatic
} as Event);
},
},
false,
Expand Down